Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default in Excel, how do I set up an alert popup when the file is opened?

in Excel, how do I set up an alert popup when the file is opened?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default in Excel, how do I set up an alert popup when the file is opened?

Hi Scgaca,

Try something like:

Sub Workbook_Open()

MsgBox Me.FullName & " now open!"

End Sub

This is workbook event code and should be pasted into the workbook's
ThisWorkbook module:

Right click the Excel icon on the worksheet
(or the icon to the left of the File menu if you your workbook is
maximised)

View Code from the menu, and paste the code.

Alt-F11 to return to Excel.


---
Regards,
Norman



"scgaca" wrote in message
...
in Excel, how do I set up an alert popup when the file is opened?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default in Excel, how do I set up an alert popup when the file is open

Perfect! That's exactly what we were looking for..Many thanks.

"Norman Jones" wrote:

Hi Scgaca,

Try something like:

Sub Workbook_Open()

MsgBox Me.FullName & " now open!"

End Sub

This is workbook event code and should be pasted into the workbook's
ThisWorkbook module:

Right click the Excel icon on the worksheet
(or the icon to the left of the File menu if you your workbook is
maximised)

View Code from the menu, and paste the code.

Alt-F11 to return to Excel.


---
Regards,
Norman



"scgaca" wrote in message
...
in Excel, how do I set up an alert popup when the file is opened?




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
popup alert in data validation karl Excel Discussion (Misc queries) 12 June 14th 08 11:34 AM
Condtional Alert/Popup MIKJ6 Excel Discussion (Misc queries) 1 January 10th 08 09:14 PM
cannot open the excel file, the file is already opened cannot open the excel document Excel Discussion (Misc queries) 1 May 19th 06 07:45 AM
stop excel file opened as read only if already opened by another u bobm Excel Programming 3 August 5th 05 04:11 PM
Display an Alert popup. Xluser@work Excel Programming 4 August 24th 04 03:11 PM


All times are GMT +1. The time now is 04:51 PM.

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

About Us

"It's about Microsoft Excel"