Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro that creats chart. Now I want to be able to set the size of
the plot area exactly. The code I am using is: With ActiveChart .PlotArea.Width = 10000 .PlotArea.Height = 10000 ............... End With However this does not seem to work. I dont know if it is only the relative size between height and width that can be set this way or..How do you set the size of the plot area (recording a marco is not useful for me since it does not give exact size). Do you have to set the size of the whole chart first? If so how? Please assist me if you have any idea! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
The plotarea is restrained by the chartarea. The chart will not increase in size to accommodate the plotarea, you will need to check and modify the chartarea size first. Cheers Andy Nick London wrote: I have a macro that creats chart. Now I want to be able to set the size of the plot area exactly. The code I am using is: With ActiveChart .PlotArea.Width = 10000 .PlotArea.Height = 10000 .............. End With However this does not seem to work. I dont know if it is only the relative size between height and width that can be set this way or..How do you set the size of the plot area (recording a marco is not useful for me since it does not give exact size). Do you have to set the size of the whole chart first? If so how? Please assist me if you have any idea! -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
HOW TO FIX SIZE OF CHART BOX | Charts and Charting in Excel | |||
Size of Chart | Excel Discussion (Misc queries) | |||
Specifying the size (in cm) of a chart ? | Excel Programming | |||
chart size | Charts and Charting in Excel | |||
copy charts & paste as picture, hide chart, size & place same picture as chart | Excel Programming |