Pls Help on OLE Registration error
- From: junky149@xxxxxxxxx
- Date: Fri, 27 Jun 2008 22:23:48 -0700 (PDT)
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
.
- Prev by Date: Re: Export to Text File with newline delimiter
- Next by Date: Re: Corruption errors in acc 2000 program
- Previous by thread: MVPS.Org Read/Set Internet Explorer URL from code (api0051) doesn't work.
- Next by thread: Access front end for sql server
- Index(es):