ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Preventing Macro Flash (https://www.excelbanter.com/excel-worksheet-functions/55106-preventing-macro-flash.html)

PCakes

Preventing Macro Flash
 
I have recorded a macro, how do I stop it from showing all the steps I have
taken and simply run the macro? Do I use DIM if sho what is the correct way
of doing so?

Paul B

Preventing Macro Flash
 
PCakes,

Application.ScreenUpdating = False

'Your code

Application.ScreenUpdating = True
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003


"PCakes" wrote in message
...
I have recorded a macro, how do I stop it from showing all the steps I have
taken and simply run the macro? Do I use DIM if sho what is the correct
way
of doing so?




PCakes

Preventing Macro Flash
 
Thank you! I am trying to teach myself some Visual Basics, but time is not
on my side. This site is most helpful as are you!

"Paul B" wrote:

PCakes,

Application.ScreenUpdating = False

'Your code

Application.ScreenUpdating = True
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003


"PCakes" wrote in message
...
I have recorded a macro, how do I stop it from showing all the steps I have
taken and simply run the macro? Do I use DIM if sho what is the correct
way
of doing so?





Paul B

Preventing Macro Flash
 
Your welcome

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"PCakes" wrote in message
...
Thank you! I am trying to teach myself some Visual Basics, but time is

not
on my side. This site is most helpful as are you!

"Paul B" wrote:

PCakes,

Application.ScreenUpdating = False

'Your code

Application.ScreenUpdating = True
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003


"PCakes" wrote in message
...
I have recorded a macro, how do I stop it from showing all the steps I

have
taken and simply run the macro? Do I use DIM if sho what is the

correct
way
of doing so?








All times are GMT +1. The time now is 05:56 AM.

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