Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default automatically go to last worksheet inserted in a workbook.


Can somebody please tell me how upon opening a workbook the last shee
that was inserted is the active sheet.

Thankyo

--
darkcity196
-----------------------------------------------------------------------
darkcity1965's Profile: http://www.excelforum.com/member.php...fo&userid=1571
View this thread: http://www.excelforum.com/showthread.php?threadid=38248

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default automatically go to last worksheet inserted in a workbook.

Depends on where the last sheet was inserted. If it is inserted as the last
sheet (i.e you have 3 sheets in the workbook and inserts a 4th sheet after
sheet 3)
then this macro is a possible solution.

Sub Auto_Open()
'
Dim i As Integer

i = Sheets.Count

Sheets(i).Select

End Sub


"darkcity1965"
wrote in message
news:darkcity1965.1rag6i_1119881117.6021@excelforu m-nospam.com...

Can somebody please tell me how upon opening a workbook the last sheet
that was inserted is the active sheet.

Thankyou


--
darkcity1965
------------------------------------------------------------------------
darkcity1965's Profile:
http://www.excelforum.com/member.php...o&userid=15712
View this thread: http://www.excelforum.com/showthread...hreadid=382484



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default automatically go to last worksheet inserted in a workbook.


It will be inserted as the last sheet. All other sheet tabs will be t
the left of it. There will also be a new sheet inserted each week

--
darkcity196
-----------------------------------------------------------------------
darkcity1965's Profile: http://www.excelforum.com/member.php...fo&userid=1571
View this thread: http://www.excelforum.com/showthread.php?threadid=38248

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default automatically go to last worksheet inserted in a workbook.

In this case there should be no problem with the macro I suggested since
this macro counts all the sheets in a workbook working from left to right.



"darkcity1965"
wrote in message
news:darkcity1965.1rc2ig_1119956718.0871@excelforu m-nospam.com...

It will be inserted as the last sheet. All other sheet tabs will be to
the left of it. There will also be a new sheet inserted each week.


--
darkcity1965
------------------------------------------------------------------------
darkcity1965's Profile:
http://www.excelforum.com/member.php...o&userid=15712
View this thread: http://www.excelforum.com/showthread...hreadid=382484



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
how to automatically update a second worksheet when data inserted maggiemay Excel Worksheet Functions 2 February 17th 10 03:23 PM
symbols automatically inserted Ray A. Excel Discussion (Misc queries) 2 May 23rd 07 04:03 PM
Macro add worksheet to workbook automatically Davin Excel Discussion (Misc queries) 0 February 17th 06 05:36 PM
How can I get inserted lines to automatically appear in a linked . Excel-erator Excel Worksheet Functions 0 February 9th 06 04:49 PM
Can inserted rows automatically include existing worksheet formula tgdavis Excel Discussion (Misc queries) 2 September 20th 05 09:08 PM


All times are GMT +1. The time now is 03:28 PM.

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

About Us

"It's about Microsoft Excel"