Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|