+ Reply to Thread
Results 1 to 7 of 7

Returns to Sheet1 when I close my Spreadsheet?

  1. #1
    Registered User
    Join Date
    01-20-2014
    Location
    london, England
    MS-Off Ver
    Excel 2010
    Posts
    49

    Question Returns to Sheet1 when I close my Spreadsheet?

    Hi,

    I've designed a spreadsheet that has buttons and a contents page on sheet1.

    What I would like to know is this:

    Is there a way of making it so that everytime I open my spreadsheet, it automatically takes me to sheet1?
    It would just make life a lot easier than to have to keep going back to sheet1 and saving!

    Any help would be greatly appreciated!

    Kind regards,

    Antligen

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Returns to Sheet1 when I close my Spreadsheet?

    you could use an auto_open macro, but you will have to save your file as a macro enabled workbook

    this takes you to cell B2 on sheet 1 every time the workbook opens:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-20-2014
    Location
    london, England
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Returns to Sheet1 when I close my Spreadsheet?

    I opened Visual Basic a tried this but it did not work on my spreadsheet.

    Antligen

  4. #4
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Returns to Sheet1 when I close my Spreadsheet?

    ok - the macro wont work if macros are disabled, or if you copied the code into the VBA area for a particular sheet, rather than a module attached to the workbook as a whole. Is either of these the problem?

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Returns to Sheet1 when I close my Spreadsheet?

    Open VBA Editor. On Project window on left pane, double click on ThisWorkbook and paste the code given below on the code window and save your workbook as Excel Macro Enabled Workbook.

    Please Login or Register  to view this content.
    Is this what you want?
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  6. #6
    Registered User
    Join Date
    01-20-2014
    Location
    london, England
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Returns to Sheet1 when I close my Spreadsheet?

    Perfect, works exactly how I wanted it to.

    Thank you, much appreciated!

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Returns to Sheet1 when I close my Spreadsheet?

    Glad to help you. Thanks for the feedback and rep.
    If that takes care of your question, please mark your thread as solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. =+Sheet1!A1+Sheet1!B1+Sheet1!C1 macro to convert all linked ref to Values
    By chriszoma in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2013, 02:44 PM
  2. Replies: 4
    Last Post: 07-26-2013, 12:41 AM
  3. merge book1,sheet1,book2,sheet1,book3,sheet1 ect
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-11-2013, 01:30 PM
  4. Can't close out of spreadsheet
    By MRDaugherty in forum Excel General
    Replies: 2
    Last Post: 12-15-2012, 11:10 PM
  5. close spreadsheet without saving
    By LiamF in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-22-2008, 06:15 AM

Tags for this Thread

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