Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all,
I run some VBA code spawning it from vbscript. Several workbooks are opened, one of which has several sheets and one of these sheets has a chart in it. The sheet name with the chart is named SPC. In the VBA code contained in ThisWorkbook I have the following code: Dim oSPCchart Set oSPCchart = Workbooks("SPCbook").Sheets("SPC").ChartObjects(1) oSPCchart.Chart.Export "d:\Verification\test.gif", "GIF" The error is: Run-time error 1004 Application-defined or object-define error I have tried other code variants but always get some type of 1004 error. Does anyone have any tips? Thanks in advance, Milos. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do i export a pivot chart as a static chart object? | Charts and Charting in Excel | |||
Chart.Export images are shrinking as I export more images | Charts and Charting in Excel | |||
export chart - what controls exported chart width | Excel Programming | |||
export chart as jpg | Excel Programming | |||
Export chart to .bmp | Excel Programming |