Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Guys,
after I managed to select the dynamic data range for my chart I am now inserting a chart via macro... Sounds simple, but isnt for a newbie ;) I recorded a macro to move and size the chart, to see which code it uses: ActiveSheet.ChartObjects("Chart 3").Activate ActiveChart.ChartArea.Select ActiveSheet.Shapes("Chart 3").IncrementLeft 37.5 ActiveSheet.Shapes("Chart 3").IncrementTop 24# ActiveSheet.Shapes("Chart 3").ScaleWidth 1, msoFalse, msoScaleFromTopLeft ActiveSheet.Shapes("Chart 3").ScaleHeight 1, msoFalse, msoScaleFromTopLeft It looks like it moves the chart relative to its current position. but I need to have the chart on FIXED points. It will be oriented along cells (if that makes it easier) it will always be in the same spot and although the amount of data varies the size of the chart must always be the same... How can i accomplish this? I was thinking there must be a command that tells Excel the position of the corners or one corner and length and width... Any help aprreciated :) Matt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Fixed Chart Location | Charts and Charting in Excel | |||
macro for fixed color lines in line chart based on series name | Charts and Charting in Excel | |||
How do I get a formula to use data from a fixed location(NOT vicev | Excel Discussion (Misc queries) | |||
Size and location of an embedded chart | Excel Programming | |||
Size and location of chart | Excel Programming |