Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 115
Default Size and location of an embedded chart

Raul -

Create it using ChartObjects.Add, not Charts.Add:

Dim MyChart as Chart
With ActiveSheet
Set MyChart = .ChartObjects.Add(100,100,350,275).Chart
'' (left, top, width, height in points)
End With

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


Raul wrote:

Can anyone tell me how to specify the size and the
location of a chart embedded in a worksheet? I can
create the chart programmatically but I have to manually
move the chart to the desired location. The chart gets
created on the desired worksheet but not near the desired
cell.

Thanks,
Raul


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
size an embedded word doc in Excel AMezera Excel Discussion (Misc queries) 0 September 16th 09 05:20 PM
Retaining Embedded Chart size when columns under it are hidden/add Barb Reinhardt Charts and Charting in Excel 1 January 17th 07 11:17 PM
reducing size of multiple embedded graphics camjohnson Excel Discussion (Misc queries) 2 April 23rd 06 03:03 PM
size of embedded object Amy Wang Excel Discussion (Misc queries) 0 December 9th 05 10:15 PM
Size and location of chart Mark Anderson Excel Programming 1 July 14th 03 09:48 PM


All times are GMT +1. The time now is 05:31 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"