ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Modeless Userform problem (https://www.excelbanter.com/excel-programming/308876-re-modeless-userform-problem.html)

Harald Staff

Modeless Userform problem
 
Hi

Sub Show()
UserForm1.Show vbModeless
DoEvents
UserForm1.Repaint
DoEvents
'stuff here
End Sub


HTH. Best wishes Harald

"Andy" skrev i melding
...
I am trying to create a pop up that tells the user that the macro is

running.
I want to run this as a modeless userform. When the macro runs, the
userform shows the main title bar as expected but the contents of the
userform is just white. How do I correct this?




Scott

Modeless Userform problem
 
Andy,

Note that vbModeless isn't supported by Excel 97. It doesn't even compile.

-Scott

"Harald Staff" wrote in message ...
Hi

Sub Show()
UserForm1.Show vbModeless
DoEvents
UserForm1.Repaint
DoEvents
'stuff here
End Sub


HTH. Best wishes Harald

"Andy" skrev i melding
...
I am trying to create a pop up that tells the user that the macro is

running.
I want to run this as a modeless userform. When the macro runs, the
userform shows the main title bar as expected but the contents of the
userform is just white. How do I correct this?



All times are GMT +1. The time now is 07:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com