Ironman
Well-known Member
- Joined
- Jan 31, 2004
- Messages
- 1,069
- Office Version
- 365
- Platform
- Windows
Hi
The below code creates a message box that runs every time Sheet 'Calculators' is activated.
I'd be grateful if the above code could be modified so it only runs when both of the below conditions are met:
1. Col A of the last row in sheet 'Training Log' contains today's date and
2. Col B of the same row in that sheet does not contain any of these text strings (within the commas): "OTHER (IB)", "OTHER (OB)", "OTHER (W)", "OTHER (T)", "REST", ""
Many thanks!
The below code creates a message box that runs every time Sheet 'Calculators' is activated.
VBA Code:
Private Sub Worksheet_Activate()
ActiveWindow.DisplayHeadings = False
Range("G26").Select
MsgBox "Enter temperature (ºF) from connect.garmin.com/modern", vbInformation, "Garmin.com Temperature (F) Conversion"
Application.Calculation = xlCalculationAutomatic
End Sub
1. Col A of the last row in sheet 'Training Log' contains today's date and
2. Col B of the same row in that sheet does not contain any of these text strings (within the commas): "OTHER (IB)", "OTHER (OB)", "OTHER (W)", "OTHER (T)", "REST", ""
Many thanks!