> Hi ,
> After importing an excel file, using the following code,
[quoted text clipped - 9 lines]
> Do you have any ideas why is this happened?
> thanks.
I'm not sure, but try releasing all the objects you created:
xlWkb.Close
Set xlRng = Nothing
Set xlSht = Nothing
Set xlWkb = Nothing
Set xlApp = Nothing

Signature
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)
Norman Yuan - 27 May 2007 23:53 GMT
> I'm not sure, but try releasing all the objects you created:
>
> xlWkb.Close
'also add following code
xlApp.Quit
> Set xlRng = Nothing
> Set xlSht = Nothing
> Set xlWkb = Nothing
> Set xlApp = Nothing
SIN - 31 May 2007 19:44 GMT
Thanks, i added AND the file is stile in status: read only
> > Hi ,
> > After importing an excel file, using the following code,
[quoted text clipped - 18 lines]
> Set xlWkb = Nothing
> Set xlApp = Nothing