Thread
:
Show msgbox only when....
View Single Post
#
2
Posted to microsoft.public.excel.programming
Chip Pearson
external usenet poster
Posts: 7,247
Show msgbox only when....
Tod,
Look at the UserControl property. E.g.,
If Application.UserControl = True Then
MsgBox "Hello, World"
End If
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"Tod" wrote in message
...
Is there a way to show a msgbox only if the user opens the
workbook? The workbook is also opened by a script to
update some data. I don't want the msgbox code to run if
the workbook is opened from the script.
tod
Reply With Quote
Chip Pearson
View Public Profile
Find all posts by Chip Pearson