Adrianna
Registered User.
- Local time
- Today, 01:04
- Joined
- Oct 16, 2000
- Messages
- 254
HELP! I have tried using a listbox and a textbox to display table names as they are exported to Excel. At the end of a successful export, the table name is either added to the value list in the listbox, or added to the end of a growing textbox ( I prefer the listbox, but it's not important). This is designed to show the users the status of the export without requiring them to click OK on a MsgBox. The issue is that the code loops though and on completion when a MsgBox pops up to say everything was successful, the textbox/listbox adds all table names at once.
I tried to put the individual MsgBoxes back in and amazingly enough, the Text/Listbox performs it's incremental growth of table names. I obviously don't want bother users with all 32 individual MsgBoxes. But Me.Form.Refresh doesn't even do the trick.
Any Ideas?
Okay...I thought that I would add that without the message boxes..the code seems to cause write errors in the proceedure that is looping through. SOMETIMES it runs without a hitch and other times, it thinks it's over writing itself. If I 'step through' the code in the debugger...I NEVER get the errors.
I tried to put the individual MsgBoxes back in and amazingly enough, the Text/Listbox performs it's incremental growth of table names. I obviously don't want bother users with all 32 individual MsgBoxes. But Me.Form.Refresh doesn't even do the trick.
Any Ideas?
Okay...I thought that I would add that without the message boxes..the code seems to cause write errors in the proceedure that is looping through. SOMETIMES it runs without a hitch and other times, it thinks it's over writing itself. If I 'step through' the code in the debugger...I NEVER get the errors.
Last edited: