Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
Hi all,
I often have to put a large number of charts in a report that need to be the same size. I'd like to create a macro that automatically resizes selected charts rather than manually resizing each one. I've tried to record a macro where I select a chart and resize it but the resizing part doesn't seem to get recorded. Any idea on how I would do this? Thanks, Josh |
#2
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
Sub ChartResize1024x768()
Dim oCht As Chart Set oCht = ActiveChart oCht.Parent.Width = 768 '1024*.75=768 oCht.Parent.Height = 576 '768 *.75=576 End Sub |
#3
![]()
Posted to microsoft.public.excel.charting
|
|||
|
|||
![]()
Works perfectly. Thanks very much!
"Fan924" wrote: Sub ChartResize1024x768() Dim oCht As Chart Set oCht = ActiveChart oCht.Parent.Width = 768 '1024*.75=768 oCht.Parent.Height = 576 '768 *.75=576 End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pie Chart Resize | Charts and Charting in Excel | |||
resize chart | Charts and Charting in Excel | |||
resize chart | Charts and Charting in Excel | |||
Chart resize macro | Charts and Charting in Excel | |||
How do I resize a chart in Excel after the chart has been saved... | Charts and Charting in Excel |