Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello
to fix my problem I am having opening my workbok on other people's computers I am using the code: Private Sub Worksheet_Activate() Range("A1:R1").Select ActiveWindow.Zoom = True Range("A1").Select End Sub This does not work for Chart sheets because I cannot figure out the object that should go with .Zoom on the chart sheet. Can anyone help or do you have any ideas about aooming so the whole chart is visible on any resolution. David |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Selecting the chart sheet and then doing ActiveChart.Select ActiveWindow.Zoom = True worked for me. -- Regards, Tom Ogilvy "David" wrote: Hello to fix my problem I am having opening my workbok on other people's computers I am using the code: Private Sub Worksheet_Activate() Range("A1:R1").Select ActiveWindow.Zoom = True Range("A1").Select End Sub This does not work for Chart sheets because I cannot figure out the object that should go with .Zoom on the chart sheet. Can anyone help or do you have any ideas about aooming so the whole chart is visible on any resolution. David |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Tom
That code works if I assign it to a button. It will not work under: Private Sub Chart_Activate() Is there a way I can run this as the chart sheet opens? David "Tom Ogilvy" wrote: Selecting the chart sheet and then doing ActiveChart.Select ActiveWindow.Zoom = True worked for me. -- Regards, Tom Ogilvy "David" wrote: Hello to fix my problem I am having opening my workbok on other people's computers I am using the code: Private Sub Worksheet_Activate() Range("A1:R1").Select ActiveWindow.Zoom = True Range("A1").Select End Sub This does not work for Chart sheets because I cannot figure out the object that should go with .Zoom on the chart sheet. Can anyone help or do you have any ideas about aooming so the whole chart is visible on any resolution. David |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Chart gets messed up after zooming | Charts and Charting in Excel | |||
Zooming in chart by 2 click ?? | Charts and Charting in Excel | |||
Chart Zooming and scrolling | Charts and Charting in Excel | |||
Chart Zooming | Excel Programming | |||
Zooming in on a row | Excel Discussion (Misc queries) |