PDA

View Full Version : VBA Show Message On Sheet Activate



Howardc
10-29-2012, 07:20 PM
I would like a message reminder to pop up with I select sheet "YTD"

The message should read "Remember to select the curent month period"

Your assistance in this regard is most appreciated

xander1981
10-29-2012, 08:05 PM
Remember to select code for the YTd Sheet, Select 'Worksheet' from the drop down menu and select 'Activate' from the next drop down menu next to it.


Private Sub Worksheet_Activate()
MsgBox ("Remember to select the curent month period")
End Sub

Howardc
10-29-2012, 08:17 PM
Remember to select code for the YTd Sheet, Select 'Worksheet' from the drop down menu and select 'Activate' from the next drop down menu next to it.


Private Sub Worksheet_Activate()
MsgBox ("Remember to select the curent month period")
End Sub


Thanks for the help, much appreciated