ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   MsgBox taking a long time to clear from screen (https://www.excelbanter.com/excel-programming/373304-msgbox-taking-long-time-clear-screen.html)

[email protected]

MsgBox taking a long time to clear from screen
 
I have a spreadsheet with a MsgBox and an Ok button that takes a long
time to clear off the screen after the Ok button has been selected. In
fact another MsgBox appears over it. Is there anyway I can control the
speed with which the msgbox clears from the screen after the Ok button
has been pressed?

Thanks
Steve


Bob Phillips

MsgBox taking a long time to clear from screen
 
Perhaps something else is happening. Can you post all your code?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
ps.com...
I have a spreadsheet with a MsgBox and an Ok button that takes a long
time to clear off the screen after the Ok button has been selected. In
fact another MsgBox appears over it. Is there anyway I can control the
speed with which the msgbox clears from the screen after the Ok button
has been pressed?

Thanks
Steve




[email protected]

MsgBox taking a long time to clear from screen
 

wrote:
I have a spreadsheet with a MsgBox and an Ok button that takes a long
time to clear off the screen after the Ok button has been selected. In
fact another MsgBox appears over it. Is there anyway I can control the
speed with which the msgbox clears from the screen after the Ok button
has been pressed?

Thanks
Steve


Maybe try a DoEvents right after the message box that isn't vanishing
when it should.

HTH

-semiopen



All times are GMT +1. The time now is 01:17 PM.

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