Johnny C
Well-known Member
- Joined
- Nov 7, 2006
- Messages
- 1,069
- Office Version
- 365
- Platform
- Windows
Greetings.
The following code isn't working.
All the literature says activate the sheet and select the chart area and copy the selection, and that works. However I don't want to select if I can avoid it. I don't see why this won't work but it doesn't.
the error is on the copy line : Error 438, Object doesn't support this property or method
TIA
The following code isn't working.
All the literature says activate the sheet and select the chart area and copy the selection, and that works. However I don't want to select if I can avoid it. I don't see why this won't work but it doesn't.
Code:
For Each sht In ActiveWorkbook.Sheets
For Each cht In sht.ChartObjects
cht.ChartArea.Copy
the error is on the copy line : Error 438, Object doesn't support this property or method
TIA