Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How can I program a message box to open when a user opens and excell file.
Ie. When a user selects to open a file a command box opens with the messge "Please note this file is good for ..." wtc. The user then clicks ok to continue to the opened work book. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Private Sub Workbook_Open()
msgbox "Please note this file is good for . . . " End Sub go into the VBE and go to the Thisworkbook entry in the Project explorer. double click on this an you will get the code module for Workbook level events. In the left dropdown as the top choose Workbook and from the right choose Open. Add the line for the message box. http://ww.cpearson.com/excel/events.htm Chip Pearson's page on events. -- Regards, Tom Ogilvy "Marcus" wrote in message ... How can I program a message box to open when a user opens and excell file. Ie. When a user selects to open a file a command box opens with the messge "Please note this file is good for ..." wtc. The user then clicks ok to continue to the opened work book. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change program that hyperlink opens with | Links and Linking in Excel | |||
Excel saved files won't open, only the program opens | Excel Discussion (Misc queries) | |||
Why every excel shortcut opens a new copy of the program? | Excel Discussion (Misc queries) | |||
How do I insert a message when a user opens my Excel workbook? | Excel Discussion (Misc queries) | |||
Hyperlink in Excel opens the right program, but can't read file. | Excel Discussion (Misc queries) |