Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I am stumped! How do I make the following generic, so that it chooses the active sheet and not "Sheet1"? ActiveChart.SetSourceData Source:=Sheets("Sheet1").Range( _ "E18:CA18,E29:CA29,E40:CA40,E55:CA55"), PlotBy:=xlRows I tried : ActiveChart.SetSourceData Source:=Activesheet.Range( _ "E18:CA18,E29:CA29,E40:CA40,E55:CA55"), PlotBy:=xlRows but get "object required". I sure would appreciate any help! Thanks! -- Mary Kathryn ------------------------------------------------------------------------ Mary Kathryn's Profile: http://www.excelforum.com/member.php...o&userid=31905 View this thread: http://www.excelforum.com/showthread...hreadid=516320 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Charting problem.. | Excel Discussion (Misc queries) | |||
Problem With Reference Update | Excel Worksheet Functions | |||
Copy an Drag cell Formula Problem | Excel Discussion (Misc queries) | |||
problem office assistant | Excel Discussion (Misc queries) | |||
Dynamic charting problems (events) | Charts and Charting in Excel |