View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
SomeHelp SomeHelp is offline
external usenet poster
 
Posts: 4
Default Always display a particular worksheet upon opening Excel 2003

Hi Bob,

'Doesn't work' tends to mean it is doing the same thing it was before
I asked for assistance
Ie, Opening on the same worksheet that I was on when I save the document.

However I've worked it out, and unfortunately you didn't tell me one detail
that would have made your suggestion work. This was to change the drop-down
menu from 'General' to 'Worksheet' in the VisualBasic (View code) window, and
then paste the code.

Thanks for your help with this. It is much appreciated.
Regards
Ian

--
SomeHelp


"Bob Phillips" wrote:

What does doesn't work mean, it errors, the same sheet as you closed with is
active?

Post your EXACT code, and the EXACT names of your worksheets please.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"SomeHelp" wrote in message
...
Thanks for your reply Bob.
However I've entered the code as you described (replacing ''sheet_name''
with my sheet name - i've tried with and without quotation marks &
brackets)
& it hasn't worked.
Any suggestions please?

--
SomeHelp


"Bob Phillips" wrote:

Private Sub Workbook_Open()
Thisworkbook.Worksheets("sheet_name").Activate
End Sub

This is workbook event code.
To input this code, right click on the Excel icon on the worksheet
(or next to the File menu if you maximise your workbooks),
select View Code from the menu, and paste the code


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"SomeHelp" wrote in message
...
I have a Excel document that contains multiple worksheets.
When I open the document, I want it to always open with a particular
worksheet displayed (rather than the one displayed when I last saved
the
document).

How do I achieve this please?