#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default Pop up box

I want to create a pop up box that will appear when the spreadsheet is
opened. Is this possible? I do not want it to be dependent upon a
specific cell but instead to open every time the spreadsheet is opened.


Thank you.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 709
Default Pop up box

japc90, use the workbook open event,

Private Sub Workbook_Open()
MsgBox "your message here"
End Sub

To put in this macro, from your workbook right-click the workbook's icon and
pick View Code. This icon is at the top-left of the spreadsheet this will
open the VBA editor, in Project Explorer double click on thisworkbook, under
your workbook name, if you don't see it press CTRL + r to open the Project
Explorer, then, paste the code in the window that opens on the right hand
side, press Alt and Q to close this window and go back to your workbook, now
this will run every time you open the workbook. If you are using excel 2000
or newer you may have to change the macro security settings to get the macro
to run. To change the security settings go to tools, macro, security,
security level and set it to medium

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"japc90" wrote in message
oups.com...
I want to create a pop up box that will appear when the spreadsheet is
opened. Is this possible? I do not want it to be dependent upon a
specific cell but instead to open every time the spreadsheet is opened.


Thank you.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default Pop up box

Thanks! It worked great but now a box pops up telling me that I need to
change my macro security level. I did this and it works but will it
work when I send this file to other people?

Paul B wrote:
japc90, use the workbook open event,

Private Sub Workbook_Open()
MsgBox "your message here"
End Sub

To put in this macro, from your workbook right-click the workbook's icon and
pick View Code. This icon is at the top-left of the spreadsheet this will
open the VBA editor, in Project Explorer double click on thisworkbook, under
your workbook name, if you don't see it press CTRL + r to open the Project
Explorer, then, paste the code in the window that opens on the right hand
side, press Alt and Q to close this window and go back to your workbook, now
this will run every time you open the workbook. If you are using excel 2000
or newer you may have to change the macro security settings to get the macro
to run. To change the security settings go to tools, macro, security,
security level and set it to medium

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"japc90" wrote in message
oups.com...
I want to create a pop up box that will appear when the spreadsheet is
opened. Is this possible? I do not want it to be dependent upon a
specific cell but instead to open every time the spreadsheet is opened.


Thank you.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 709
Default Pop up box

japc90, that depends on what there security setting is set at

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"japc90" wrote in message
oups.com...
Thanks! It worked great but now a box pops up telling me that I need to
change my macro security level. I did this and it works but will it
work when I send this file to other people?

Paul B wrote:
japc90, use the workbook open event,

Private Sub Workbook_Open()
MsgBox "your message here"
End Sub

To put in this macro, from your workbook right-click the workbook's icon

and
pick View Code. This icon is at the top-left of the spreadsheet this

will
open the VBA editor, in Project Explorer double click on thisworkbook,

under
your workbook name, if you don't see it press CTRL + r to open the

Project
Explorer, then, paste the code in the window that opens on the right

hand
side, press Alt and Q to close this window and go back to your workbook,

now
this will run every time you open the workbook. If you are using excel

2000
or newer you may have to change the macro security settings to get the

macro
to run. To change the security settings go to tools, macro, security,
security level and set it to medium

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"japc90" wrote in message
oups.com...
I want to create a pop up box that will appear when the spreadsheet is
opened. Is this possible? I do not want it to be dependent upon a
specific cell but instead to open every time the spreadsheet is

opened.


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



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