Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 331
Default Opening Message

When I open a workbook I would like a dialog box that has a message that
opens on the screen and the user has to click the ok button to clear the
message and start working. Any help would be appreciated.

Thanks in advance
greg
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 523
Default Opening Message

In the VBA editor right click on workbook and 'view code' change the right
hand box to say open and add the following:

Private Sub Workbook_Open()

MsgBox "Your text here", vbOKOnly, "Title"

End Sub


"Greg" wrote:

When I open a workbook I would like a dialog box that has a message that
opens on the screen and the user has to click the ok button to clear the
message and start working. Any help would be appreciated.

Thanks in advance
greg

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Message on opening of worksheet Ruth Excel Discussion (Misc queries) 1 August 22nd 07 05:40 AM
Opening an attachment of a message that has a message as attachmen vetron Excel Programming 0 January 30th 06 06:17 PM
Message Upon Opening File JaneC Excel Discussion (Misc queries) 1 April 14th 05 08:22 AM
Error message on opening?? JDT Excel Discussion (Misc queries) 1 March 4th 05 11:41 PM
error message in opening David Excel Discussion (Misc queries) 1 January 13th 05 09:14 PM


All times are GMT +1. The time now is 10:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"