Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default screen resolution vs. zoom vs. activewindow

I need your advice on this issue.

I have developed a workbook consisting of 40 sheets. They are grouped and
hidden at startup and the code determines which are made visible.
The workbook was developed using a screen resolution of 1280 x 768 and all
sheets display properly at zoom 100%. Others will use this app so I put in
code to check their resolution settings and then set the proper zoom level.
I store the zoom as a global variable. In Workbook_Open I apply the zoom
using ActiveWindow.Zoom = 112. This is great for the splash sheet which is
active but as soon as I go to another sheet the zoom goes back to 100%. Does
each sheet create a new activewindow? I tested by displaying the name of the
activewindow and it is always the name of my app so I think not.
I do not want to have to put code into all 40 sheets (I have stayed away
from putting any code in sheets). Is there a way to intercept (event) when a
sheet on the sheettab is activated so I can put the code in the event? How
is this normally done?

Thanks.

rick

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
XL2002 - ActiveWindow.Zoom = TRUE (to selection) Trevor Williams Excel Programming 0 November 18th 08 01:57 PM
How to get the screen resolution in VBA Stefan Mueller[_2_] Excel Programming 2 August 28th 07 10:21 AM
Can't get screen resolution StevenS Excel Programming 3 November 12th 05 01:01 PM
Screen Resolution Sheldon Excel Programming 1 November 2nd 04 05:52 PM
Screen resolution Arkimediz Excel Programming 3 April 1st 04 05:23 PM


All times are GMT +1. The time now is 07:54 PM.

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

About Us

"It's about Microsoft Excel"