+ Reply to Thread
Results 1 to 3 of 3

Returning worksheet "Home"

  1. #1
    Valued Forum Contributor
    Join Date
    03-23-2008
    Location
    Tennessee
    MS-Off Ver
    Office 2007
    Posts
    706

    Returning worksheet "Home"

    S'up again, everybody?

    This one is quick and easy. What line of code will return a worksheet to the "Home" position?

    I have a worksheet with "Freeze Panes" activated. After my macro runs, the sheet is left down at the bottom, where the data was inserted. I want the sheet view to return to the top, where the chart is visible.

    Usually I accomplish this at the end of the macro by simply adding
    Range("A1").Select

    That doesn't seem to work when you have the panes frozen.

    End Goal: After the macro runs on each worksheet, I want the sheet to return to the top, with cell A1 selected.

    Thanks, all.

    Jerry

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Jerry

    Try

    Please Login or Register  to view this content.
    rylo

  3. #3
    Valued Forum Contributor
    Join Date
    03-23-2008
    Location
    Tennessee
    MS-Off Ver
    Office 2007
    Posts
    706

    Perfect!!

    Works perfectly, rylo. Thanks.

+ 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