Its just 1 file for which i need to open a box with the message for who ever opens that file.
Main Topics
Browse All TopicsHi,
Open a dialog box when ever the excel file is opened.In which i can give some info.
Regards
Sharath
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Here's a start...open the workbook and press Alt-F11 to get into the code area.
Double-click on the piece on the left called "ThisWorkbook" and paste the code below
When you save and re-open, you should get a message box asking for a value.
If you click OK, the value will go into cells A1 and B1 with different messages.
If you want it to be more elaborate, that can also be done.
1) The box will only appear when the workbook is opened, not if it is already open.
2) You have to have sufficient Security settings to be able to run macros.
First, close the workbook then reopen (menu File-1 should do it if you just closed it.)
Are you using Excel 2003?
For security, go to menu Tools | Macro | Security...
Then select Medium (or Low but I don't recommend that).
When you close and reopen, you should get a dialog box asking if you'd like to enable macro.
You must ENABLE macros or the message is not allowed to appear.
Similarly, if the security setting is High, macros are not allowed to run so the code cannot run.
Business Accounts
Answer for Membership
by: spattewarPosted on 2008-01-11 at 11:51:44ID: 20639608
Do you want the dialog box for each file that is opened in the excel application or a particular file? If it is a particular file then we can put vba code in the workbook open event to open up a form.
$wapnil