+ Reply to Thread
Results 1 to 5 of 5

Better Way to Jump to a Specific Row That's Not Affected by Removed Rows

  1. #1
    Forum Contributor
    Join Date
    05-16-2007
    Location
    USA
    MS-Off Ver
    MS Office 2016, Excel 2016
    Posts
    216

    Better Way to Jump to a Specific Row That's Not Affected by Removed Rows

    I'm trying to find a better way to jump to a specific row so that the Examples in my sample file I attached will always align right below A3. You may think that should be A4, but A1-A3 are frozen, so those rows are static. Where A4 would be, is where I would like the Examples to align with when selected.

    Essentially, I'm just trying to cut down on scrolling by jumping to an Example section using the Example buttons I created.

    Currently, I'm using Range(""), Select which works, but if I delete any rows, then I have to edit the VBA code to update the range. I'm confident there must be a better method.

    Example code I'm using:
    Please Login or Register  to view this content.

    Thanks
    Mike
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365 Version 2501 64-bit
    Posts
    1,474

    Re: Better Way to Jump to a Specific Row That's Not Affected by Removed Rows

    Modify,

    If you "name" the cells in Top Left and Bottom right of your ranges, and set that as the Range Parameters, the range should move automatically?

    Ochimus

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,550

    Re: Better Way to Jump to a Specific Row That's Not Affected by Removed Rows

    Best bet would be to assign Named Ranges that refer to the "jump points". Then you can use, for example:

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Contributor
    Join Date
    05-16-2007
    Location
    USA
    MS-Off Ver
    MS Office 2016, Excel 2016
    Posts
    216

    Re: Better Way to Jump to a Specific Row That's Not Affected by Removed Rows

    Quote Originally Posted by TMS View Post
    Best bet would be to assign Named Ranges that refer to the "jump points". Then you can use, for example:

    Please Login or Register  to view this content.
    That worked perfectly, thank you!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,550

    Re: Better Way to Jump to a Specific Row That's Not Affected by Removed Rows

    You're welcome.


    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon (Next to Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. [SOLVED] how to auto-number rows that don't update when previous rows are removed
    By soojungchoe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2021, 05:00 PM
  2. [SOLVED] Specific row removed/hide from chart
    By luukos97 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-26-2020, 03:36 PM
  3. [SOLVED] Remove Rows based upon list of search terms, copy removed rows to new sheet
    By sam103329 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 02-19-2015, 08:47 PM
  4. Replies: 5
    Last Post: 09-16-2014, 12:17 PM
  5. [SOLVED] Code Causes Worksheet to "Jump" to Every Cell Affected
    By roddyJames in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2014, 08:33 AM
  6. Replies: 4
    Last Post: 03-05-2014, 02:40 AM
  7. Remove Rows based upon list of search terms, copy removed rows to new sheet
    By sam103329 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-26-2013, 10:32 PM

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