Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Execute macro at opening file
I have learned to do simple macros in Excel and how to combine them
with CTRL+a and so. Now I would like to have a worksheet with some areas being erased at the opening of the file to make a clean start. I can do it with a macro like Ctrl+a but how shall I do to have the macro automatically run at the opening of the file, like the autostart in Windows? -- Many thanks in advance ! Clippan |
#2
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Execute macro at opening file
Hi
You can use the open/activate event of the workbook See this page for more information http://www.cpearson.com/excel/events.htm -- Regards Ron de Bruin http://www.rondebruin.nl "clippan" wrote in message ... I have learned to do simple macros in Excel and how to combine them with CTRL+a and so. Now I would like to have a worksheet with some areas being erased at the opening of the file to make a clean start. I can do it with a macro like Ctrl+a but how shall I do to have the macro automatically run at the opening of the file, like the autostart in Windows? -- Many thanks in advance ! Clippan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Closing File Error | Excel Discussion (Misc queries) | |||
Trouble opening an Excel file that contains macros | Excel Worksheet Functions | |||
Opening an Excel file | Excel Discussion (Misc queries) | |||
Opening a file with code without a set file name | Excel Discussion (Misc queries) | |||
opening file problem please help | Excel Discussion (Misc queries) |