Msgbox in worksheet activate event if design mode is turned off
Events don't fire in design mode anyway.
NickHK
"Thulasiram" wrote in message
oups.com...
Hello all,
Code given below pops up a msgbox whenever any sheet in the workbook is
activated. How to tweak this code to make the msgbox to pop-up only if
design mode is turned off.
Private Sub Workbook_SheetActivate(ByVal sh As Object)
MsgBox "Please check if the design mode is turned off", vbInformation,
"Excel"
End Sub
|