Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleUse VBA code to scroll an Excel worksheet's pane to a particular column
DescriptionThis example shows how to use VBA code to scroll an Excel worksheet's pane to a particular column.
KeywordsExcel, scroll, column, worksheet, workbook
CategoriesOffice, Miscellany
 
Find the pane that you want to scroll. In this example, it's the second of two panes. Set its ScrollColumn property to the column number that you want scrolled to the left edge of the pane.
 
Sub ScrollToQuizzes()
    ActiveWindow.Panes(ActiveWindow.Panes.Count).ScrollColumn _
        = 41
End Sub
 
 
Copyright © 1997-2006 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated