Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Roundy
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
Roundy
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
Roundy
 
Posts: n/a
Default 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"