Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel VBA Form Trouble 1

Status
Not open for further replies.

RoguePoet01

Programmer
Oct 1, 2003
302
US
I'm trying to include a "Please Wait" form in an Excel workbook.

I want it to appear while records are being transferred from the spreadsheet to the SQL database, but every time I call the form with a "frmWait.Show" the program locks up.

Any ideas how to fix this?

Thanks
 
Are you sure it is locked up or just waiting for the SQL Macro to finish it's parse....try puting in a DoEvents before your call to the Form show ??
 

Morning RP
I know I could be teaching you how to suck eggs but...
If the form is modal this could be your problem as nothing can continue until the box is close.

Regards

Jo
 
Jo,

That was the ticket home!

I'll take a rain check on your other offer....

:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top