Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi everyone, How do you run a macro automatically when you open up an Excel file? Thanks in advance. -- ledzepe ------------------------------------------------------------------------ ledzepe's Profile: http://www.excelforum.com/member.php...o&userid=25207 View this thread: http://www.excelforum.com/showthread...hreadid=568427 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Place the name of your macro in the This Workbook object in the Workbook_Open event. To do this right click the excel icon next to the File menu command and select view code. Select Workbook from the drop down box at the top middle of the VBE. The Workbook_Open even macro code will be inserted and you can paste your code there. Save the workbook and close it and the next time you open it the code will execute. -- Excelenator ------------------------------------------------------------------------ Excelenator's Profile: http://www.excelforum.com/member.php...o&userid=36768 View this thread: http://www.excelforum.com/showthread...hreadid=568427 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hide Macro's in Toolbar / Macro's list | Excel Discussion (Misc queries) | |||
how do I run excel 4.0 macros on excel 2000 | Excel Discussion (Misc queries) | |||
Excel crashes while opening excel file imbeddied with macros | Excel Discussion (Misc queries) | |||
Enabling macros | Excel Discussion (Misc queries) | |||
Transferring toolbars and macros to other computers | Excel Discussion (Misc queries) |