PC Review


Reply
Thread Tools Rate Thread

What is the command to hide macro operations

 
 
Martin C
Guest
Posts: n/a
 
      8th Feb 2008
I used to know this, but have forgotten it and cannot find it through Google
for the Excel help.

I have written a macro for a spreadsheet, but it is rather slow in running.
I once used a command that effectively hid the operations taking place by
the macro from the screen. This significantly increased the speed at which
the macro ran.

Does any kind soul know which VBA command is required to turn off the
console refresh and then later turn it back on again.

TIA
Martin


 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      8th Feb 2008
Put this at the beginning of your code:

Application.ScreenUpdating = False

and don't forget to include this:

Application.ScreenUpdating = True

to turn it back on again.

Hope this helps.

Pete

On Feb 8, 9:13*am, "Martin C" <mart...@invalid.com> wrote:
> I used to know this, but have forgotten it and cannot find it through Google
> for the Excel help.
>
> I have written a macro for a spreadsheet, but it is rather slow in running..
> I once used a command that effectively hid the operations taking place by
> the macro from the screen. This significantly increased the speed at which
> the macro ran.
>
> Does any kind soul know which VBA command is required to turn off the
> console refresh and then later turn it back on again.
>
> TIA
> Martin


 
Reply With Quote
 
Martin C
Guest
Posts: n/a
 
      8th Feb 2008
Thanks for the rapid response.
I remember now and it works.
Thanks again.
Martin


"Pete_UK" <(E-Mail Removed)> wrote in message
news:c1828612-32fc-47e0-998d-(E-Mail Removed)...
Put this at the beginning of your code:

Application.ScreenUpdating = False

and don't forget to include this:

Application.ScreenUpdating = True

to turn it back on again.

Hope this helps.

Pete

On Feb 8, 9:13 am, "Martin C" <mart...@invalid.com> wrote:
> I used to know this, but have forgotten it and cannot find it through
> Google
> for the Excel help.
>
> I have written a macro for a spreadsheet, but it is rather slow in
> running.
> I once used a command that effectively hid the operations taking place by
> the macro from the screen. This significantly increased the speed at which
> the macro ran.
>
> Does any kind soul know which VBA command is required to turn off the
> console refresh and then later turn it back on again.
>
> TIA
> Martin



 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      8th Feb 2008
You're welcome, Martin - glad to help.

Pete

On Feb 8, 9:55*am, "Martin C" <mart...@invalid.com> wrote:
> Thanks for the rapid response.
> I remember now and it works.
> Thanks again.
> Martin
>
> "Pete_UK" <pashu...@auditel.net> wrote in message
>
> news:c1828612-32fc-47e0-998d-(E-Mail Removed)...
> Put this at the beginning of your code:
>
> * * Application.ScreenUpdating = False
>
> and don't forget to include this:
>
> * * Application.ScreenUpdating = True
>
> to turn it back on again.
>
> Hope this helps.
>
> Pete
>
> On Feb 8, 9:13 am, "Martin C" <mart...@invalid.com> wrote:
>
>
>
> > I used to know this, but have forgotten it and cannot find it through
> > Google
> > for the Excel help.

>
> > I have written a macro for a spreadsheet, but it is rather slow in
> > running.
> > I once used a command that effectively hid the operations taking place by
> > the macro from the screen. This significantly increased the speed at which
> > the macro ran.

>
> > Does any kind soul know which VBA command is required to turn off the
> > console refresh and then later turn it back on again.

>
> > TIA
> > Martin- Hide quoted text -

>
> - Show quoted text -


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro Operations Cause Access '03 to Crash. TWYSTD Microsoft Access Macros 4 6th Oct 2009 08:19 PM
Could the macro recorder record the operations during a presentation? An Microsoft Powerpoint 3 2nd Jul 2006 12:19 PM
Repeating Macro operations =?Utf-8?B?Sm9obiBNY0F2b3k=?= Microsoft Excel Worksheet Functions 2 5th Jun 2004 02:14 PM
Command Prompt operations =?Utf-8?B?U2tpcCBNaWxsZXI=?= Windows XP General 1 31st Dec 2003 02:06 AM
Re: set command arithmetic operations guard Microsoft Windows 2000 CMD Promt 0 3rd Sep 2003 12:00 AM


Features
 

Advertising
 

Newsgroups
 


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