Running some vba calcs on a worksheet, I have a userform with an image and label "Please Wait"
When executing the calcs subroutine, the userform is called but it takes a few saecond for the userform to show the image and label, the window window is visible.
I have the load statement before the show but still the same issue.
Is there a method of waiting for the "Load" state of the userform before showing?
Similar to the method of the calculation state?
If Not Application.CalculationState = xlDone Then DoEvents
I have looked on the web but haven't found anything pertaining to the state of a userform.
Thanks!
When executing the calcs subroutine, the userform is called but it takes a few saecond for the userform to show the image and label, the window window is visible.
I have the load statement before the show but still the same issue.
VBA Code:
Public Sub UserForm_Initialize()
Load frmWait
frmWait.Show vbModeless
End Sub
Is there a method of waiting for the "Load" state of the userform before showing?
Similar to the method of the calculation state?
If Not Application.CalculationState = xlDone Then DoEvents
I have looked on the web but haven't found anything pertaining to the state of a userform.
Thanks!