Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default setting a chart size

How do you set a chart size? I tried

sub foo(
charts.ad
....
ActiveChart.ChartArea.Height = ..

end su

but this property is read-only

Thank

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 90
Default setting a chart size

Julio -

The chart area of a chart sheet is read only, unless you go to the Page
Setup command on the File menu, click on the Chart tab, and choose the
Custom printed chart size.

The chart area of an embedded chart is always read only. You change its
size and position by resizing the parent chartobject:

ActiveChart.Parent.Height = ...

- Jon
-------
Jon Peltier, Microsoft Excel MVP
http://www.geocities.com/jonpeltier/Excel/index.html
_______


julio wrote:

How do you set a chart size? I tried

sub foo()
charts.add
.....
ActiveChart.ChartArea.Height = ...

end sub

but this property is read-only.

Thanks


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
Setting the zoom size of a new window from 100% to 75% MongoMan Excel Discussion (Misc queries) 0 June 18th 08 11:30 PM
Setting field size and type tsap Excel Discussion (Misc queries) 1 December 13th 07 11:05 PM
Setting Listbox Size VBA Sandy Excel Worksheet Functions 1 April 27th 07 05:48 PM
Setting cell size to scale D Brooks Excel Discussion (Misc queries) 1 August 1st 06 07:31 PM
custom paper size setting Boyd New Users to Excel 4 August 26th 05 06:14 AM


All times are GMT +1. The time now is 04:44 AM.

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

About Us

"It's about Microsoft Excel"