+ Reply to Thread
Results 1 to 5 of 5

Always open in the same place...

  1. #1
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664

    Always open in the same place...

    Hi all,

    I wonder if anyone can help. I have a spreadsheet that a number of different people are using. I have a 'front page' that has a number of buttons that the various users press to take them to specific information. What I'd like is for every time someone opens the document it always takes them to this front page worksheet (it's called 'User Select') rather than the last place it was saved.

    Can anyone suggest a means of achieving this?

    TIA,

    SamuelT

  2. #2
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    Hi Samuel

    You need to place the following code in the ThisWorkbook module of the workbook:


    Private Sub Workbook_Open()
    Sheets("User Select").Activate
    End Sub

    Which will automatically activate the given sheet when the workbook is opened.

    Hope this helps!

    Richard

  3. #3
    Ardus Petus
    Guest

    Re: Always open in the same place...

    Paste the following code in the workbook code page:

    '-----------------------------------
    Private Sub Workbook_Open()
    Sheets("User Select").Activate
    End Sub
    '-----------------------------------

    HTH
    --
    AP

    "SamuelT" <[email protected]> a écrit
    dans le message de news:
    [email protected]...
    >
    > Hi all,
    >
    > I wonder if anyone can help. I have a spreadsheet that a number of
    > different people are using. I have a 'front page' that has a number of
    > buttons that the various users press to take them to specific
    > information. What I'd like is for every time someone opens the document
    > it always takes them to this front page worksheet (it's called 'User
    > Select') rather than the last place it was saved.
    >
    > Can anyone suggest a means of achieving this?
    >
    > TIA,
    >
    > SamuelT
    >
    >
    > --
    > SamuelT
    > ------------------------------------------------------------------------
    > SamuelT's Profile:
    > http://www.excelforum.com/member.php...o&userid=27501
    > View this thread: http://www.excelforum.com/showthread...hreadid=545788
    >




  4. #4
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664
    Thanks Richard - that worked a treat

  5. #5
    Norman Jones
    Guest

    Re: Always open in the same place...

    Hi Samuel,

    Try:

    '=============>>
    Private Sub Workbook_Open()
    Me.Sheets("Sheet1").Activate
    End Sub
    '<<=============

    Change Sheet1 to the name of your front page sheet.

    This is workbook event code and should be pasted into the workbook's
    ThisWorkbook module *not* a standard module or a sheet module:

    Right-click the Excel icon on the worksheet
    (or the icon to the left of the File menu if your workbook is maximised)
    Select 'View Code' from the menu and paste the code.
    Alt-F11 to return to Excel.


    ---
    Regards,
    Norman


    "SamuelT" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi all,
    >
    > I wonder if anyone can help. I have a spreadsheet that a number of
    > different people are using. I have a 'front page' that has a number of
    > buttons that the various users press to take them to specific
    > information. What I'd like is for every time someone opens the document
    > it always takes them to this front page worksheet (it's called 'User
    > Select') rather than the last place it was saved.
    >
    > Can anyone suggest a means of achieving this?
    >
    > TIA,
    >
    > SamuelT
    >
    >
    > --
    > SamuelT
    > ------------------------------------------------------------------------
    > SamuelT's Profile:
    > http://www.excelforum.com/member.php...o&userid=27501
    > View this thread: http://www.excelforum.com/showthread...hreadid=545788
    >




+ 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