+ Reply to Thread
Results 1 to 3 of 3

Home and 100% on all sheets in a workbook

  1. #1
    Roundy
    Guest

    Home and 100% on all sheets in a workbook

    I am wondering if anyone could help me with some code to set the view
    settings for all of my sheets to 100% zoom, and select cell A1...or rather be
    in the "control home" position. I could certainly record a macro...but that
    can be time consuming and inefficient as I have 64 worksheets in my
    workbook. Thanks in advance for the help.

  2. #2
    Roundy
    Guest

    RE: Home and 100% on all sheets in a workbook

    Found the answer and adapted it...so here is what worked.

    For Each Sheet In ThisWorkbook.Worksheets
    Sheet.Activate
    ActiveWindow.Zoom = 100
    Range("A1").Select
    Next

    "Roundy" wrote:

    > I am wondering if anyone could help me with some code to set the view
    > settings for all of my sheets to 100% zoom, and select cell A1...or rather be
    > in the "control home" position. I could certainly record a macro...but that
    > can be time consuming and inefficient as I have 64 worksheets in my
    > workbook. Thanks in advance for the help.


  3. #3
    Roundy
    Guest

    RE: Home and 100% on all sheets in a workbook

    I spoke to soon. It does select the cell I request...but the effect I am
    looking for is that of Cntrl Home which moves A1 into view? Any help on this
    one?

    "Roundy" wrote:

    > Found the answer and adapted it...so here is what worked.
    >
    > For Each Sheet In ThisWorkbook.Worksheets
    > Sheet.Activate
    > ActiveWindow.Zoom = 100
    > Range("A1").Select
    > Next
    >
    > "Roundy" wrote:
    >
    > > I am wondering if anyone could help me with some code to set the view
    > > settings for all of my sheets to 100% zoom, and select cell A1...or rather be
    > > in the "control home" position. I could certainly record a macro...but that
    > > can be time consuming and inefficient as I have 64 worksheets in my
    > > workbook. Thanks in advance for the help.


+ 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