+ Reply to Thread
Results 1 to 2 of 2

Save last position of spreadsheet

  1. #1
    Forum Contributor
    Join Date
    07-28-2005
    Posts
    132

    Save last position of spreadsheet

    I have a workbook with a main worksheet containing around 300 rows. each row has an individual hyperlink to a separate worksheet in the same workbook. The problem is if I use any of the hyperlinks, when I return to the main sheet (via another hyperlink), it defaults to the top of the spreadsheet and I have to scroll down to find my previous position. Is it possible to get excel to "remember" its previous position on the main worksheet?

    Regards

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Hi,

    If you're clicking on a hyperlink to return to the main sheet, its that hyperlink that is presumably linked to cell A1 on the Mastersheet. If you just reselect the main worksheet tab without clicking any hyperlinks you should end up back at the original active cell.

    The other thing you could do is use the worksheet DeActivate and Activate events with a couple of lines of VBA code to
    a) record the position of the active cell address in a spare cell when you leave the main sheet and
    b) return to that address when the main sheet is Activated.

    HTH

+ 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. Auto-retrieve and manage data from another spreadsheet
    By techissue2008 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-16-2008, 12:17 AM
  2. Excel spreadsheet keeps crashing on save
    By Scotts Neil in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-23-2007, 07:44 AM
  3. Can I save a spreadsheet including formulas
    By Sandraoc1 in forum Excel General
    Replies: 4
    Last Post: 07-10-2007, 08:57 PM
  4. Save spreadsheet with VBA code
    By DeMus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-24-2007, 12:57 PM
  5. Need help: Simple spreadsheet "broke"
    By iCamp in forum Excel General
    Replies: 4
    Last Post: 01-11-2007, 12:47 PM

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