ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Macro compiling screen (https://www.excelbanter.com/excel-discussion-misc-queries/151936-macro-compiling-screen.html)

andrewbt

Macro compiling screen
 
Some of the Macros in my program include maximising and minimising various
workbooks. Once the button with the assigned macro is clicked, the screen
proceeds to show me all of the actions very quickly (as usual). What i would
like to know is this, is there any way, or any code i could put in my macro
so that a loading/compiling screen is shown to the user rather than the
maximising/minimising of windows? Any help greatly apprectiated. Thanks.

[email protected]

Macro compiling screen
 
On Jul 27, 2:18 pm, andrewbt
wrote:
Some of the Macros in my program include maximising and minimising various
workbooks. Once the button with the assigned macro is clicked, the screen
proceeds to show me all of the actions very quickly (as usual). What i would
like to know is this, is there any way, or any code i could put in my macro
so that a loading/compiling screen is shown to the user rather than the
maximising/minimising of windows? Any help greatly apprectiated. Thanks.



Application.ScreenUpdating = False
.... your main part of macro
Application.ScreenUpdating = True

Regarding putting a "loading/compiling screen", you should display a
msgbox in the beginning of the macro. But I am not sure whether
control flows pst when a msgbox is displayed.



All times are GMT +1. The time now is 09:04 PM.

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