+ Reply to Thread
Results 1 to 4 of 4

automatically go to last worksheet inserted in a workbook.

  1. #1
    Registered User
    Join Date
    10-26-2004
    Posts
    3

    automatically go to last worksheet inserted in a workbook.

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

    Thankyou

  2. #2
    alf bryn
    Guest

    Re: 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" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > 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. #3
    Registered User
    Join Date
    10-26-2004
    Posts
    3
    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.

  4. #4
    alf bryn
    Guest

    Re: 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" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1