Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi! I am writing a macro for an Excel spreadsheet. I am trying to make charts
that are variable in the sense that the program searches the spreadsheet for certain details that are supposed to be in the charts. Thus I cannot use fixed cell reference. Now my y-axis is wrong since I do not know how to choose the appropriate columns that are supposed to be in the chart. Is there any way of defining a range for a chart in various sections? By this I mean that you can specify that first you want the area from A1:D1 and then you want to include the area from F1:J1? My code now is: ActiveChart.SetSourceData Source:=Sheets("Indata").Range(rng1.Address, rng1.Offset(i, j).Address), PlotBy:=xlColumns and it is ...Range(.....) that is wrong. Help needed as well as wanted! Please! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
charts toolbar / charts disappeared | Charts and Charting in Excel | |||
link excel charts to web pages and update charts automatically | Charts and Charting in Excel | |||
Charts - How to have multiple charts share a legend. | Charts and Charting in Excel | |||
interactive charts for stacked bar charts | Charts and Charting in Excel | |||
Matching the colors Column Charts and Pie Charts | Charts and Charting in Excel |