|
-
Oct 18th, 2002, 11:23 AM
#1
Thread Starter
New Member
VBA - running a macro at worksheet load in Excel
I have an Excel 2002 spreadsheet that does some automatic calculations when the user clicks on the command button. I would like the spreadsheet to run a particular macro when it first loads.
I've tried putting code in Worksheet_Activate, but of course that doesn't run until the user selects the sheet. I don't want the user to have to do anything, I just want it to run automatically.
Any suggestions? Thanks in advance.
-
Oct 18th, 2002, 11:32 AM
#2
Frenzied Member
Use Workbook_Open() instead.
-
Oct 18th, 2002, 11:37 AM
#3
Thread Starter
New Member
Originally posted by andreys
Use Workbook_Open() instead.
Well, duh.
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|