User Tools

Site Tools


microsoft_excel:macros:scroll:scroll_to

Excel - Macros - Scroll - Scroll To

' Scrolls the worksheet to the specific range.
' For instance ScrollTo "sheet22", "A1"
Sub ScrollTo(ws As String, rng As String)
 
    Application.GoTo Worksheets(ws).Range(rng), True
    Worksheets(ws).Range(rng).Select
 
End Sub
microsoft_excel/macros/scroll/scroll_to.txt · Last modified: 2021/08/04 15:10 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki