+ Reply to Thread
Results 1 to 2 of 2

Recording a scrolling macro

Hybrid View

  1. #1
    Registered User
    Join Date
    07-25-2017
    Location
    England
    MS-Off Ver
    2013
    Posts
    86

    Recording a scrolling macro

    Hi,
    I have been working on a really big spreadsheet, on the first page it is split into several different sections, i have recorded macros to allow me to scroll quickly between sections via the use of a button. These however scroll a certain amount of cells relative to the position of the top cell when the button is pressed. Using this code:

    
    ActiveWindow.SmallScroll Down:=154
    I was just wondering if there were a way to make it scroll to an 'absolute' position, i.e. so that a certain row will always be at the top when pressed.
    Any help is appreciated, Thanks

  2. #2
    Registered User
    Join Date
    07-25-2017
    Location
    England
    MS-Off Ver
    2013
    Posts
    86

    Re: Recording a scrolling macro

    Solved it myself haha, with the following:

    Application.GoTo Sheets(1).Range("CELL REF"), True

+ 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. Problem with recording a macro with long formula - works in Excel but not in macro
    By tonybeo2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-28-2015, 11:25 AM
  2. Session Recording (Login info recording)
    By cvishu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-13-2014, 04:10 PM
  3. Macro Recording
    By gbtl123 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-04-2013, 06:26 AM
  4. Recording a Macro
    By buddy123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-10-2012, 06:15 AM
  5. Live Scrolling/Real-Time /Smooth Scrolling doesn't work for me in Excel, eve
    By LetThemEatSpam@gmail.com in forum Excel General
    Replies: 2
    Last Post: 07-20-2006, 08:25 PM
  6. Live Scrolling/Real-Time /Smooth Scrolling doesn't work for me in Excel 2003
    By LetThemEatSpam@gmail.com in forum Excel General
    Replies: 0
    Last Post: 05-11-2006, 10:20 PM
  7. Replies: 1
    Last Post: 01-10-2006, 04:50 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