Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to create a 'simple' macro in Excel2003 that will Zoom everysheet
to 128% (to allow for different user screen resolutions). I have a macro that works but it also does any other (non-minimised) spreadsheet that is open. Can anyone tell me what I need to add to restrict it to the current workbook. (NB the user is free to rename the workbook so I can not hard program the file name in). Sub Big() ActiveWindow.WindowState = xlMinimized Dim I As Integer For I = 1 To Sheets.Count Sheets(I).Select ActiveWindow.Zoom = True ActiveWindow.Zoom = 128 Next ActiveWindow.WindowState = xlMaximized End Sub Many thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to affect all sheets | Excel Discussion (Misc queries) | |||
i need to stop 2 workbooks being linked-how do i do this | Excel Discussion (Misc queries) | |||
How can I Run a query from VB macro with out affect current data in the same sheet? | Excel Discussion (Misc queries) | |||
Add-In - OnAction Can't Find Macro & Subs Doesn't Affect Current Wkb | Excel Programming | |||
Menu customizations affect all workbooks? | Excel Programming |