|
Prev: MVPS.Org Read/Set Internet Explorer URL from code (api0051) doesn't work.
Next: Advice needed on Access front and lots of recs in Sql back
From: junky149 on 28 Jun 2008 01:23 I am having the OLE Registration error. I have read that I have to close Ole. Can any one tell me how to do it? I am using Access 2002 My Code: Private Sub Command1_Click() Dim myChart As Object Set myChart = Forms![Form1]![Graph1] myChart.Export filename:="C:\Chart.gif", Filtername:="GIF" Set myChart = Nothing Set Forms![Form1]![Graph1].Action = acOLEClose ' ??? not working Error code 91 in this line End Sub My Reffs: VB for application M Access Object Library 10.0 MS Graph 10.0 MS Forms 2.0 |