Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have created a simple macro named Auto_Open and saved in in Personal.XLS. I
want the macro to start automatically and go to sheet 1, cell A1. Here is the macro: Sub Auto_Open() Sheets(1).Activate Range("A1").Activate End Sub But when I start excel trying to open a file, I get an error before the worksheet even comes up. It is a run-time error 1004, Method 'Sheets' of object '_Global' failed. What am I doing wrong? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Auto Open Macro | Excel Worksheet Functions | |||
open up an excel program with an auto open macro | Excel Programming | |||
Auto run macro on open file | Excel Programming | |||
auto run macro on workbook open | Excel Programming | |||
auto run macro at workbook open | Excel Programming |