+ Reply to Thread
Results 1 to 5 of 5

Scroll to the bottom or top of range with gaps

  1. #1
    Registered User
    Join Date
    09-01-2011
    Location
    Austria
    MS-Off Ver
    Excel 2007
    Posts
    78

    Scroll to the bottom or top of range with gaps

    I've got a big sheet with random gaps in the data entries, so that when I use ctrl up or down it won't actually scroll the bottom of the sheets range and it'll get stuck in random places. I need the gaps to stay. Is there some VBA code I can use in the quick bar to instantly scroll to the top or bottom of the sheet?

    I've attached and example. It's even worse in excel 2007, sometimes CTRL UP just gets caught on the frozen top row.

    quickscroll.xlsx

  2. #2
    Registered User
    Join Date
    01-04-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Scroll to the bottom or top of range with gaps

    To go to Top of list try Ctrl+HOME.

    Try this code to go to Bottom of your list.

    Please Login or Register  to view this content.
    Hope this helps.

    Regards,
    Kumarapush123
    OfficeTricks.com - Excel VBA Macro - Tips and Tricks

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Scroll to the bottom or top of range with gaps

    Hi, labogola,

    maybe use
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Registered User
    Join Date
    09-01-2011
    Location
    Austria
    MS-Off Ver
    Excel 2007
    Posts
    78

    Re: Scroll to the bottom or top of range with gaps

    HaHobe. I just noticed something with your code. Going up to the top works fine, but scrolling down depends on the user clicking on the first column. Otherwise it doesn't work.

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Scroll to the bottom or top of range with gaps

    Hi, laboga,

    not with the sniplets I posted - itīs always the highlighted cellīs column where the jump will be taken (no merged cells when I tested which may be the reason for a different result).

    Ciao,
    Holher

+ 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. Top AND Bottom Scroll Lock
    By jawnmallon in forum Excel General
    Replies: 2
    Last Post: 06-03-2013, 06:35 PM
  2. tabs and bottom scroll bar missing
    By maplsntn in forum Excel General
    Replies: 4
    Last Post: 05-30-2013, 05:35 PM
  3. Bottom scroll bar with other sheets gone!
    By lise mccullough in forum Excel General
    Replies: 2
    Last Post: 10-01-2008, 11:01 PM
  4. Replies: 2
    Last Post: 06-05-2006, 06:55 PM
  5. Scroll bar starting at bottom of form
    By Adamaths in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2006, 05:24 AM

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