exportPicture

M

Mike

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
 
A

Andrew Smith

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.
 
M

Mike

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top