docmd.close - doesn't work

shepHeard

Registered User.
Local time
Today, 15:47
Joined
Apr 14, 2006
Messages
27
Hi there Access-Experts

I've got a strange problem in that when I use docmd.close acForm, "formname" it doesn't actually close the form...

I have a form which is exporting data to excell. As the process takes ages, I have another form which is a progress bar. The progress bar works well, but when I'm done and I close my export form, the progress bar form is sitting there still, unclosed. Despite being told to go away.

Any ideas?

Cheers
 
I am assuming the progress bar has completed its travel when the export processing has completed - why dont you put the progress bar on the export form itself to save having another form???
 

Users who are viewing this thread

Back
Top Bottom