Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Cruisin Lo
 
Posts: n/a
Default Can I add a pop-up message that will show when a workbook opens

Is there a way to add a 'pop-up' message, whereas when a file is opened, it
will display a message warning the user the file contains 'Official Use Only'
information?
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Can I add a pop-up message that will show when a workbook opens

THis macro put in the Workbook module will do it, but requires that macros be
enabled..........

Private Sub Workbook_Open()
MsgBox "NOTICE: Information in this file is for OFFICIAL USE ONLY"
End Sub

You might do as well by just making the first Sheet being only the NOTICE,
and saving the file with that sheet open.

Vaya con Dios,
Chuck, CABGx3



"Cruisin Lo" wrote:

Is there a way to add a 'pop-up' message, whereas when a file is opened, it
will display a message warning the user the file contains 'Official Use Only'
information?

  #3   Report Post  
Posted to microsoft.public.excel.misc
JLatham
 
Posts: n/a
Default Can I add a pop-up message that will show when a workbook opens

Put the messagebox into the Workbook_Open event handler

Code would be something like:

MsgBox"This Workbook Contains Work"

You can find detailed instructions on how to put code into the workbook
event on this page: http://www.jlathamsite.com/Teach/WorkbookCode.htm

"Cruisin Lo" wrote:

Is there a way to add a 'pop-up' message, whereas when a file is opened, it
will display a message warning the user the file contains 'Official Use Only'
information?

  #4   Report Post  
Posted to microsoft.public.excel.misc
Tonso
 
Posts: n/a
Default Can I add a pop-up message that will show when a workbook opens

that is a great macro! i scan these topics often and pick up some good
ideas and techniques. thanks...
Tonso
CLR wrote:
THis macro put in the Workbook module will do it, but requires that macros be
enabled..........

Private Sub Workbook_Open()
MsgBox "NOTICE: Information in this file is for OFFICIAL USE ONLY"
End Sub

You might do as well by just making the first Sheet being only the NOTICE,
and saving the file with that sheet open.

Vaya con Dios,
Chuck, CABGx3



"Cruisin Lo" wrote:

Is there a way to add a 'pop-up' message, whereas when a file is opened, it
will display a message warning the user the file contains 'Official Use Only'
information?


  #5   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Can I add a pop-up message that will show when a workbook open

Glad it was helpful for you..........thanks for the compliment.

Vaya con Dios,
Chuck, CABGx3



"Tonso" wrote:

that is a great macro! i scan these topics often and pick up some good
ideas and techniques. thanks...
Tonso
CLR wrote:
THis macro put in the Workbook module will do it, but requires that macros be
enabled..........

Private Sub Workbook_Open()
MsgBox "NOTICE: Information in this file is for OFFICIAL USE ONLY"
End Sub

You might do as well by just making the first Sheet being only the NOTICE,
and saving the file with that sheet open.

Vaya con Dios,
Chuck, CABGx3



"Cruisin Lo" wrote:

Is there a way to add a 'pop-up' message, whereas when a file is opened, it
will display a message warning the user the file contains 'Official Use Only'
information?





  #6   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default Can I add a pop-up message that will show when a workbook opens

You have some suggestions that use VBA to achieve your results.

Just be aware that if users disable macros, your code will not work.

You may wish to add further code to trap for that.

i.e. when the workbook is closed, a sheet saying "If you have disabled macros,
this workbook is useless"

You xlveryhidden all the sheets but that one.

If users open the workbook with macros disabled, this is all they will see.

If macros are enabled, your Workbook_Open code will show the NOTICE sheet.


Gord Dibben MS Excel MVP

On Wed, 28 Jun 2006 08:03:02 -0700, CLR wrote:

THis macro put in the Workbook module will do it, but requires that macros be
enabled..........

Private Sub Workbook_Open()
MsgBox "NOTICE: Information in this file is for OFFICIAL USE ONLY"
End Sub

You might do as well by just making the first Sheet being only the NOTICE,
and saving the file with that sheet open.

Vaya con Dios,
Chuck, CABGx3



"Cruisin Lo" wrote:

Is there a way to add a 'pop-up' message, whereas when a file is opened, it
will display a message warning the user the file contains 'Official Use Only'
information?


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
Sharing workbook, show last user change? paul89 Excel Discussion (Misc queries) 1 June 3rd 06 09:54 PM
Error Message - No more new fonts may be applied to this workbook John_London Excel Discussion (Misc queries) 2 May 17th 05 02:49 PM
How do i include the original workbook in the email message creat. ebxr8 Excel Discussion (Misc queries) 4 April 9th 05 12:25 AM
Personal workbook opens when Excel opens SheriTingle Excel Discussion (Misc queries) 2 March 30th 05 12:22 AM
Stubborn toolbars in Excel 007 Excel Discussion (Misc queries) 9 December 11th 04 02:02 PM


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