Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default i want excel to show the first tab upon opening, not the second


when i open my spreadsheet, it always opens with the second sheet prominent,
rather than the first. how can i change this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default i want excel to show the first tab upon opening, not the second

Hi,

You will need VB for that. Alt+F11 to open VB editor. Double click
'ThisWorkbook' and paste the code below in on the right. For it to work you
must enable macros on opening

Private Sub Workbook_Open()
Application.Goto Sheets(2).Range("A1")
End Sub
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"robsc" wrote:


when i open my spreadsheet, it always opens with the second sheet prominent,
rather than the first. how can i change this?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 561
Default i want excel to show the first tab upon opening, not the second

I assume mikes intention was to type: Sheets(1)
Beside that - if you'll save your WB while sheet(1) is in focus - that sheet
will be shown the next time you open that WB.
Micky



"robsc" wrote:


when i open my spreadsheet, it always opens with the second sheet prominent,
rather than the first. how can i change this?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default i want excel to show the first tab upon opening, not the secon

Hmm,

Actually no I intended to write sheets(2) but that's because I misread the
post!! Thanks for the correction.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"מיכאל (מיקי) אבידן" wrote:

I assume mikes intention was to type: Sheets(1)
Beside that - if you'll save your WB while sheet(1) is in focus - that sheet
will be shown the next time you open that WB.
Micky



"robsc" wrote:


when i open my spreadsheet, it always opens with the second sheet prominent,
rather than the first. how can i change this?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula for having next number show when opening file char819 Excel Discussion (Misc queries) 1 February 9th 09 02:40 PM
show most recent files first when opening excel files Anne` Excel Discussion (Misc queries) 5 January 23rd 08 01:54 AM
SHow user form when opening workbook Wanna Learn Excel Discussion (Misc queries) 2 June 26th 07 06:30 PM
Why do macros show up while opening document, but were deleted? Ralph Orth Excel Discussion (Misc queries) 6 February 16th 06 07:07 PM
REF errors when opening excel in xp. works fine when opening wor. br Excel Discussion (Misc queries) 6 September 13th 05 11:41 AM


All times are GMT +1. The time now is 11:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"