Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Charting / September 2006

Tip: Looking for answers? Try searching our database.

chart area size vba

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kaonashi@gmail.com - 06 Sep 2006 15:36 GMT
How can I set the chart size of an existing active/selected chart?

I tried this withing a sub routine:

With ActiveChart.ChartArea
   .Width = 5
   .Height = 3
End With

And get the error message: Unable to Set the Width Property of the
ChartArea Class

Any help is appreciated.
Andy Pope - 06 Sep 2006 15:57 GMT
Hi,

If the chart is on a worksheet this will work, although your chart will
be very small.

With ActiveChart.Parent
    .Width = 5
    .Height = 3
End With

Cheers
Andy

> How can I set the chart size of an existing active/selected chart?
>
[quoted text clipped - 9 lines]
>
> Any help is appreciated.

Signature

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.