Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Screen Updating


Hi,

I am currently working on a macro that involves switching betwee
different worksheets many times. The worksheets are all named so tha
they can be accessed using several for loops. I have se
Application.ScreenUpdating to False, but the computer still visuall
switches between sheets, slowing down processing time. Is there any wa
to avoid this? Maybe it's because I activate each sheet as I use it so
can use ActiveSheet when I should instead just reference the shee
everytime I have ActiveSheet? Thanks in advance for your help.

-Rama

--
Raman32
-----------------------------------------------------------------------
Raman325's Profile: http://www.excelforum.com/member.php...fo&userid=2474
View this thread: http://www.excelforum.com/showthread.php?threadid=38363

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default Screen Updating

Raman,

I don't actually know whether activating sheets would cause the behavior you
describe, but you are absolutely right that you should alter your code to
eliminate the Activates where possible.

hth,

Doug

"Raman325" wrote in
message ...

Hi,

I am currently working on a macro that involves switching between
different worksheets many times. The worksheets are all named so that
they can be accessed using several for loops. I have set
Application.ScreenUpdating to False, but the computer still visually
switches between sheets, slowing down processing time. Is there any way
to avoid this? Maybe it's because I activate each sheet as I use it so I
can use ActiveSheet when I should instead just reference the sheet
everytime I have ActiveSheet? Thanks in advance for your help.

-Raman


--
Raman325
------------------------------------------------------------------------
Raman325's Profile:

http://www.excelforum.com/member.php...o&userid=24748
View this thread: http://www.excelforum.com/showthread...hreadid=383639



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 692
Default Screen Updating

In Excel 2000 - I don't see the sheet changes.

But you can avoid all selecting and activating in your code. This makes it
even faster.

Sheets("MySheet").Range("$A$1:$E$25").Copy _
Destination:=Sheets("YourSheet").Range ($T$12)

Sheets("YourSheet").Range ($T$12)= Sheets("MySheet").Range($F$33)

steveB

Remove "AYN" from email to respond
"Raman325" wrote in
message ...

Hi,

I am currently working on a macro that involves switching between
different worksheets many times. The worksheets are all named so that
they can be accessed using several for loops. I have set
Application.ScreenUpdating to False, but the computer still visually
switches between sheets, slowing down processing time. Is there any way
to avoid this? Maybe it's because I activate each sheet as I use it so I
can use ActiveSheet when I should instead just reference the sheet
everytime I have ActiveSheet? Thanks in advance for your help.

-Raman


--
Raman325
------------------------------------------------------------------------
Raman325's Profile:
http://www.excelforum.com/member.php...o&userid=24748
View this thread: http://www.excelforum.com/showthread...hreadid=383639



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen Updating nidovan Excel Programming 0 January 16th 05 09:24 PM
Screen Updating KG[_4_] Excel Programming 0 January 16th 05 07:12 PM
Screen Updating KG[_4_] Excel Programming 0 January 16th 05 05:09 PM
screen updating Josie Excel Programming 4 September 29th 04 01:45 PM
Screen Updating Chilidog1000[_2_] Excel Programming 1 January 6th 04 08:18 PM


All times are GMT +1. The time now is 12:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"