+ Reply to Thread
Results 1 to 2 of 2

Opening a file to the same worksheet

  1. #1
    Registered User
    Join Date
    01-29-2005
    Posts
    5

    Opening a file to the same worksheet

    I have a workbook that consists of several worksheets. I have created a Table of Contents wich links to the various pages. There are several users that visit this workbook to pull information from it. Is there a way to get the workbook to always open on the table on contents sheet instead of the last sheet that was saved?? Thanks in advance.

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    In your VBA Workbook Open event module (press Alt+F11) place this code:

    Private Sub Workbook_Open()
    Sheets("Table_of_Contents").Select
    'enter the name of your TOC sheet *exactly* as it is named in your workbook
    Range("A1").Select
    End Sub

    Note this will not work if Macros are disabled by the user.

    HTH

    Bruce
    Bruce
    The older I get, the better I used to be.
    USA

+ 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