Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Julie
 
Posts: n/a
Default Display a message when opening Excel file

Is there a way to display a message upon opening a particular Excel File?

Thank You
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Private Sub Workbook_Open()
MsgBox "hello"
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code



--
HTH

Bob Phillips

"Julie" wrote in message
...
Is there a way to display a message upon opening a particular Excel File?

Thank You



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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Error message opening Excel Ed Excel Discussion (Misc queries) 1 March 18th 05 04:04 AM
Opening an Excel file Sheldon Zaklow Excel Discussion (Misc queries) 0 March 3rd 05 10:29 PM
Opening Office Excel file in Works suite DON Excel Discussion (Misc queries) 1 January 30th 05 05:59 AM
excel opening file error Firemedic395 Excel Discussion (Misc queries) 2 December 8th 04 05:50 PM


All times are GMT +1. The time now is 08:55 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"