Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Automatic Macros
In previous version of Excel, we can use sub autopen or sub autoexec, or
something like that~. Now in Excel 2003 can we use the same sub? Or there is anyway to do it? Thanks -- Rui Santos Portugal |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Automatic Macros
Sub AutoOpen() Still works, how ever there are a lot of event driven options
available in the current version of excel. Open the Editor, then double click the "ThisWorkbook" item under the VBAProject(YourBook.xls) on the left side of the screen. then above the code window there should be 2 comboboxex, in the left one select "Workbook" in the right one there should be a list of all the event triggers that you can use, select the one that's most appropriate for what you want to do, probably Open. HTH -- Charles Chickering "A good example is twice the value of good advice." "rmcsantos" wrote: In previous version of Excel, we can use sub autopen or sub autoexec, or something like that~. Now in Excel 2003 can we use the same sub? Or there is anyway to do it? Thanks -- Rui Santos Portugal |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Automatic Macros
But use:
Sub Auto_Open() (note the underscore) rmcsantos wrote: In previous version of Excel, we can use sub autopen or sub autoexec, or something like that~. Now in Excel 2003 can we use the same sub? Or there is anyway to do it? Thanks -- Rui Santos Portugal -- Dave Peterson |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Automatic Macros
Doh! Thanks, for catching my typo Dave.
-- Charles Chickering "A good example is twice the value of good advice." "Dave Peterson" wrote: But use: Sub Auto_Open() (note the underscore) rmcsantos wrote: In previous version of Excel, we can use sub autopen or sub autoexec, or something like that~. Now in Excel 2003 can we use the same sub? Or there is anyway to do it? Thanks -- Rui Santos Portugal -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Automatic Macros | Excel Worksheet Functions | |||
Automatic running of Macros | Excel Programming | |||
Automatic Macros | Excel Programming | |||
Automatic Macros | Excel Programming |