exportPicture

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi I have succesfully been using the following code to export pivot charts
from Access 2003 forms to jpegs. It has stopped working and gives me a run
time error 430. I believe some automatic Windows update has changed something
but am not sure what. Any thoughts? (I am running W2k and have all the latest
updates that automatic update has suggested.)

Private Sub Command1_Click()
Dim frm As Access.Form
Set frm = Me.frmPivotChart.Form
frm.ChartSpace.ExportPicture "C:\PivotChart1.jpg", "JPEG"
End Sub
 
I had a similar issue and it turned out that rolling back owc10.dll from
version 10.0.6765.0 to 10.0.6619.0 sorted my issue.
 
Hi, thanks Andrew. I put an older version of the owc10.dll on and the
exportPicture worked fine. If anyone else is using this function, don't
download office service pack 2 without putting rolling back owc10.dll to the
old version.
 
Back
Top