Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I try to create a macro which runs when excel is started. I have tried it with - as word - a modul called "AutoExec" and the routine "Sub Main". I placed the xls in the XLStart-folder. It did not work. Then I tried it with a Auto_Open modul and a different Modul with a "Sub Auto_Open()" in it. All this failed. Does anybody has an idea on this? Thanks for any help. Best Regards George |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You have to put your code in private sub Workbook_Open in
Personal.xls: From the VB Project Explorer select Personal.xls / this workbook, and from the top left hand drop down box in the editor window, where it reads (General), choose Workbook. Nikos Y. ) -----Original Message----- Hi I try to create a macro which runs when excel is started. I have tried it with - as word - a modul called "AutoExec" and the routine "Sub Main". I placed the xls in the XLStart-folder. It did not work. Then I tried it with a Auto_Open modul and a different Modul with a "Sub Auto_Open()" in it. All this failed. Does anybody has an idea on this? Thanks for any help. Best Regards George . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
AutoExec question for imported data (2000) | Excel Discussion (Misc queries) | |||
autoexec macro to run on opening the spreadsheet | Excel Discussion (Misc queries) | |||
compile error in hidden module autoexec.new in excel 2003 | Charts and Charting in Excel | |||
What does "Compile error in hidden module:Autoexec New" mean? | Excel Discussion (Misc queries) | |||
Autoexec Macro | Excel Worksheet Functions |