PC Review


Reply
Thread Tools Rate Thread

Auto run Macro 2002

 
 
=?Utf-8?B?UEo=?=
Guest
Posts: n/a
 
      24th Sep 2007
Hi

I need a spreadsheet to opne on the same sheet whenever it is opened. I use
to be able create a macro and name it Auto_run and it would automatically run
when the spreadsheet is opened but this Auto_run does not work in 2002
version of excel.

Have they cahnged the naming or is there amother simpler way to get it to do
what I want.

All help is much appreciated.

Cheers

PJ
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWlrZSBI?=
Guest
Posts: n/a
 
      24th Sep 2007
Hi,

Use the inbuilt workbook_open event to select the sheet you want.
Alt+F11 to open editor. Doubleclick thisworkbook and paste this in:-

Private Sub Workbook_Open()
Sheets("MySheet").Select
End Sub

Mike

"PJ" wrote:

> Hi
>
> I need a spreadsheet to opne on the same sheet whenever it is opened. I use
> to be able create a macro and name it Auto_run and it would automatically run
> when the spreadsheet is opened but this Auto_run does not work in 2002
> version of excel.
>
> Have they cahnged the naming or is there amother simpler way to get it to do
> what I want.
>
> All help is much appreciated.
>
> Cheers
>
> PJ

 
Reply With Quote
 
Zone
Guest
Posts: n/a
 
      24th Sep 2007
By the way, the sub you're thinking of is Auto_open, not Auto_run

"Mike H" <(E-Mail Removed)> wrote in message
news:FC677B91-C1AA-4F04-B765-(E-Mail Removed)...
> Hi,
>
> Use the inbuilt workbook_open event to select the sheet you want.
> Alt+F11 to open editor. Doubleclick thisworkbook and paste this in:-
>
> Private Sub Workbook_Open()
> Sheets("MySheet").Select
> End Sub
>
> Mike
>
> "PJ" wrote:
>
>> Hi
>>
>> I need a spreadsheet to opne on the same sheet whenever it is opened. I
>> use
>> to be able create a macro and name it Auto_run and it would automatically
>> run
>> when the spreadsheet is opened but this Auto_run does not work in 2002
>> version of excel.
>>
>> Have they cahnged the naming or is there amother simpler way to get it to
>> do
>> what I want.
>>
>> All help is much appreciated.
>>
>> Cheers
>>
>> PJ



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort =?Utf-8?B?R2F2aW4=?= Microsoft Excel Worksheet Functions 0 17th May 2007 01:20 PM
Auto-run macro after auto-query refresh (Excel2000,sr1) =?Utf-8?B?QmlsbCBDdWZmbGlu?= Microsoft Excel Programming 3 29th Jun 2006 03:30 AM
macro visibility in auto loaded macro sheets? =?Utf-8?B?Z2hvc3RXb2xm?= Microsoft Excel Misc 1 29th Jun 2004 08:36 AM
Call Excel 2002 Macro from Outlook 2002 Reto Walker Microsoft Outlook VBA Programming 1 10th May 2004 02:26 PM
VBA to create auto Export data from Access 2002 to Excel 2002 Lynn Microsoft Access VBA Modules 1 3rd Feb 2004 04:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:16 PM.