Hi,
I have a userform with some buttons and I'm using a textbox as a logbox to show some comments while the data is being processed.
I use something like this:
The problem is that excel is busy and the form becomes blank with a wheel turning and only when it's done does the form reappear completely.frmAanm.txtLog.Value = frmAanm.txtLog.Value & "(" & countClients & "/" & totalClients & ")" & vbCrLf
With busy I mean that in my case for each item in a collection class a file is being made (xls) and it makes a file works in it, then closes it automatically and start with the next.
In the meantime I want to show which one is being processed but the form is blank and you can't see any label, textbox, button,...
Any advice to make sure the userform is shown. What happens in excel should be hidden in the background if possible.
Thanks in advance.
Last edited by gosa; 01-04-2012 at 01:10 PM.
Hello gosa,
There are several ways to keep a UserForm visible. The best approach depends on knowing what your code is doing. For that reason, you should post a copy of your workbook. If you can not then it will require a lot of posting of code, questions, and answers.
Sincerely,
Leith Ross
Remember To Do the Following....
1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.2. Thank those who have helped you by clicking the Starbelow the post.
3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
Hi,
Thanks for taking time to answer.
I will try to put an example so you can see what I mean.
It will be tomorrow I think cause I still need to work on some other parts.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks