Thanks Gary.
I tried it but when I open the file, Excel still points to the last viewed
sheet instead of Index.
Mike
Let’s make sure it's in the correct place.
Because it is workbook code, it is very easy to install and use:
0. remove the version installed originally
1. right-click the tiny Excel icon just to the left of File on the Menu Bar
2. select View Code - this brings up a VBE window
3. paste the stuff in and close the VBE window
If you save the workbook, the macro will be saved with it.
To remove the macro:
1. bring up the VBE windows as above
2. clear the code out
3. close the VBE window
To learn more about macros in general, see:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
To learn more about Event Macros (worksheet code), see:
http://www.mvps.org/dmcritchie/excel/event.htm

Signature
Gary''s Student - gsnu200776
> Thanks Gary.
> I tried it but when I open the file, Excel still points to the last viewed
[quoted text clipped - 16 lines]
> >> TIA
> >> Mike
Mike - 01 Apr 2008 18:41 GMT
Gary,
I'm sure your code works, but for some reasons, Excel would not see it at
startup.
I'm using Excel 2007
> Let’s make sure it's in the correct place.
>
[quoted text clipped - 46 lines]
>> >> TIA
>> >> Mike
Gord Dibben - 01 Apr 2008 23:48 GMT
What level of Macro Security are you running?
If High, the macros are disabled without warning.
Gord Dibben MS Excel MVP
>Gary,
>I'm sure your code works, but for some reasons, Excel would not see it at
[quoted text clipped - 51 lines]
>>> >> TIA
>>> >> Mike