Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
can someone please help me out.
i have a chart on a page that uses the range c4:e16. it defaults to plot by rows. i am just looking for a simple macro to change it to plot by columns. can i even do this? i tried the following, but get an error 9, subscript out of range. i right clicked the chart and chose assign macro, just to find the chart number, and it tells me it is chart4, so that's what i tried. Sub Change_Chart() Sheets("Monthly Totals").Select Charts(4).SetSourceData Source:=Sheets("Monthly Totals").Range("c4:e16"), _ PlotBy:=xlcolumns End Sub -- Gary |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy chart formatting and chart templates in Excel 2007 | Charts and Charting in Excel | |||
Excel 2003 is missing Built-In Custom Chart Types in Chart Wizard | Charts and Charting in Excel | |||
Excel 2003 is missing Built-In Custom Chart Types in Chart Wizard | Setting up and Configuration of Excel | |||
Excel 2003: How to nudge a chart element or shape on a chart? | Charts and Charting in Excel | |||
Huge differences in chart values screws my bar chart scale up. | Charts and Charting in Excel |