Screen Updates on a userform
You need to sprinkle
DoEvents
in the appropriate places so that the update will be visible.
HTH
Paul
--------------------------------------------------------------------------------------------------------------
Be advised to back up your WorkBook before attempting to make changes.
--------------------------------------------------------------------------------------------------------------
i have a large data table 9000 lines. I have a userform
that runs some code from a button. At pre determined
points in the code I change the caption of a label on the
form to show status informatin, e.g.
Label1.caption="Looking", = "Found", = "This may take a
while"....the Problem I am seeing is that it doens seem
to refresh the userform info until the sub routine on the
button has completed. Hence I only ever see the very last
status message, is this the way userforms work ? or is
there a setting or command I can use to get it to update
and refresh the captions on a label on the form ?
|