Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Can somebody help me fix the following: When I run the following line of code: Worksheets(destinationSheet).ChartObjects(chartToC opy).Activate where destinationSheet is a string with the name of the sheet "Output 2", and chartToCopy is also a string with the name of a chart "char 11" I get a "Run-time error '1004': Unable to get the ChartObjects property of the Worksheet class." I think it worked when I used Activesheet.ChartObjects(chartToCopy).Activate but I do not want to make it dependent on being on that sheet. -- pwermuth ------------------------------------------------------------------------ pwermuth's Profile: http://www.excelforum.com/member.php...o&userid=24997 View this thread: http://www.excelforum.com/showthread...hreadid=386289 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Looping Through Charts / ChartObjects | Excel Programming | |||
delete chartobjects! | Excel Programming | |||
Not allow selection of chartobjects ? | Charts and Charting in Excel | |||
Marcowarnings when pasting chartobjects to powerpoint | Charts and Charting in Excel | |||
ChartObjects | Excel Programming |