+ Reply to Thread
Results 1 to 2 of 2

Scroll Macro

  1. #1
    Registered User
    Join Date
    01-13-2011
    Location
    birmingham
    MS-Off Ver
    Excel 2007
    Posts
    3

    Scroll Macro

    Sub auto_open()

    Sheet1.Activate
    ActiveWindow.ScrollColumn = 5
    ActiveWindow.ScrollRow = 5

    End Sub

    I can use the above macro to scroll to where needed however does anyone know if I could make the "5" variable. For example if lets say Cell A2 will determine which column and row will decide where to scroll?

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Scroll Macro

    Please Login or Register  to view this content.



+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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