PC Review


Reply
Thread Tools Rate Thread

Chart zooming

 
 
=?Utf-8?B?RGF2aWQ=?=
Guest
Posts: n/a
 
      13th Jul 2007
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 With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      13th Jul 2007

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 With Quote
 
=?Utf-8?B?RGF2aWQ=?=
Guest
Posts: n/a
 
      14th Jul 2007
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chart gets messed up after zooming =?Utf-8?B?Q2FybG8=?= Microsoft Excel Charting 2 2nd Feb 2007 07:55 PM
Zooming in chart by 2 click ?? herve Microsoft Excel Charting 1 2nd Mar 2006 02:54 AM
Chart Zooming and scrolling ken@spacesoftwaresystems.com Microsoft Excel Charting 3 18th Nov 2005 11:29 PM
Chart Zooming ken4capitola Microsoft Excel Programming 0 10th Nov 2005 08:56 PM
Disappearing text when zooming in and out of a chart SharonH Microsoft Excel Charting 0 11th Mar 2004 01:27 PM


Features
 

Advertising
 

Newsgroups
 


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