How to create a popup window in Excel 2007





Posted By quikStarts
List ViewGrid View

This guide is part of the Microsoft Excel 2007 series



Make: excel

Model / Product: Excel

Version: 2007

Objective / Info: Create a pop up window with a custom message when a workbook is opened.


1
Start Excel by clicking the icon on the desktop or start menu.

2
Open a new or existing worksheet.

3
In the Visual Basic Editor, paste the following code into the box to the right: Private Sub Workbook_Open() MsgBox "This is your personal message" End Sub
  Note : Replace this portion "This is your personal message" with your own message.

4
Click the "Developer" tab on the menu.
5
Click the "Visual Basic" button.

6
Close the Visual Basic editor window by clicking the red x in the upper right hand corner.

7
Close the Excel file.

  Note :Click "Save" if prompted.

8
Reopen the Excel file that you made the changes to. If Macros are disabled, you may see a security message. Click the "Options" button.
  Note : I

9
Select the "Enable this content" option and click the "OK" button.
10
The pop up should appear with the message your created. Click "Ok" on the pop up to remove it. This task should be complete. If you did not get these results, review and repeat the steps.







comments powered by Disqus

Tag : excel

Ask a question or provide an answer

Posted Q&A(0)


Name
Email
URL
Comment