If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Irritating screen refresh when copying values from one workbook to another

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-21-04, 00:18
oks oks is offline
Registered User
 
Join Date: Jun 2004
Location: Singapore
Posts: 28
Question Irritating screen refresh when copying values from one workbook to another

Hi,

I have a macro which copys values from one workbook to another therefore flipping from workbook to workbook. When copying, the screen keep refreshing and is a real irritation for the eyes.

So I would like to know if there is any good solution to overcome this problem.

Thanks & Regards
oks
Reply With Quote
  #2 (permalink)  
Old 07-21-04, 01:48
DavidCoutts DavidCoutts is offline
Registered User
 
Join Date: Jan 2004
Location: Aberdeen, Scotland
Posts: 1,067
Hi oks

All you need is at the start of the process put in the line

applicaiotn.screenupdating = false

at the end

Application.ScreenUpdating = True

as you can probably tell this stops the screen updating, with the added bonus of helping your code run faster
Reply With Quote
  #3 (permalink)  
Old 07-21-04, 01:59
oks oks is offline
Registered User
 
Join Date: Jun 2004
Location: Singapore
Posts: 28
Thanks so much.
Finally, I don't have to strain my eyes.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On