Hello all,
What code can I use in order to display a msgbox when a worksheet is active??
Thank you all
Hello all,
What code can I use in order to display a msgbox when a worksheet is active??
Thank you all
This goes in the ThisWorkBook module:
every time you change sheet you get a message pop up to tell you which sheet has been activated!![]()
Private Sub Workbook_SheetActivate(ByVal Sh As Object) MsgBox "This Sheet " & Chr(34) & ActiveSheet.Name & Chr(34) & " Is Now Active", vbOKOnly, "Sheet Activation" End Sub
Regards,
Simon
Originally Posted by Simon Lloyd
Thank you Simon ( :
Glad to help!
Regards
Simon
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks