A Microsoft Office (Excel, Word) forum. OfficeFrustration

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   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

A way to not refresh data on screen?



 
 
Thread Tools Display Modes
  #1  
Old February 10th, 2004, 11:55 PM
Kenji
external usenet poster
 
Posts: n/a
Default A way to not refresh data on screen?

When I run the macro, the Excel sheet does a bunch of activities.

Is there a way to disable refreshing the screen.. so the user doesn't have
to see all the data being written in as it's done?

Kenji


  #2  
Old February 11th, 2004, 12:11 AM
Peo Sjoblom
external usenet poster
 
Posts: n/a
Default A way to not refresh data on screen?

Sub Macro()
Application.ScreenUpdating = False
'your code
Application.ScreenUpdating = True
End Sub

--

Regards,

Peo Sjoblom

"Kenji" wrote in message
...
When I run the macro, the Excel sheet does a bunch of activities.

Is there a way to disable refreshing the screen.. so the user doesn't have
to see all the data being written in as it's done?

Kenji




  #3  
Old February 11th, 2004, 12:17 AM
A.W.J. Ales
external usenet poster
 
Posts: n/a
Default A way to not refresh data on screen?

Kenji,

Sub test()
Application.Screenupdating = False

your macro contents

Application.Screenupdating = True
End Sub

--
Regards,
Auk Ales

* Please reply to this newsgroup only *
* I will not react on unsolicited e-mails *

"Kenji" wrote in message
...
When I run the macro, the Excel sheet does a bunch of activities.

Is there a way to disable refreshing the screen.. so the user doesn't have
to see all the data being written in as it's done?

Kenji




  #4  
Old February 11th, 2004, 01:45 AM
Kenji
external usenet poster
 
Posts: n/a
Default A way to not refresh data on screen?

Thanks AWJ Ales and lexiinlace, it worked beautifully and made things 10x
faster!

Kenji

"A.W.J. Ales" wrote in message
...
Kenji,

Sub test()
Application.Screenupdating = False

your macro contents

Application.Screenupdating = True
End Sub

--
Regards,
Auk Ales

* Please reply to this newsgroup only *
* I will not react on unsolicited e-mails *

"Kenji" wrote in message
...
When I run the macro, the Excel sheet does a bunch of activities.

Is there a way to disable refreshing the screen.. so the user doesn't

have
to see all the data being written in as it's done?

Kenji






 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.