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

Is there a way to have the spreadsheet screen refresh after the macor is
finished instead of during the macro run? Currently the changes to the
spreadsheet are reflected as the macro runs. I would like the user to see
just one refresh when the macro is complete.

Tom
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default screen refresh

Sub Whatever()
application.screenupdating = false
'Your code here
application.screenupdating = true
end sub
--
HTH...

Jim Thomlinson


"stinson" wrote:

Is there a way to have the spreadsheet screen refresh after the macor is
finished instead of during the macro run? Currently the changes to the
spreadsheet are reflected as the macro runs. I would like the user to see
just one refresh when the macro is complete.

Tom

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default screen refresh

At the start of the macro use the statement

Application.ScreenUpdating=False


stinson wrote:
Is there a way to have the spreadsheet screen refresh after the macor is
finished instead of during the macro run? Currently the changes to the
spreadsheet are reflected as the macro runs. I would like the user to see
just one refresh when the macro is complete.

Tom


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default screen refresh

Application.ScreenUpdating = False
at the start, and just before the end
Application.ScreenUpdating = True

--
kassie

never stop learning




"stinson" wrote in message
...
Is there a way to have the spreadsheet screen refresh after the macor is
finished instead of during the macro run? Currently the changes to the
spreadsheet are reflected as the macro runs. I would like the user to see
just one refresh when the macro is complete.

Tom



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default screen refresh

Thank you.

"Jim Thomlinson" wrote:

Sub Whatever()
application.screenupdating = false
'Your code here
application.screenupdating = true
end sub
--
HTH...

Jim Thomlinson


"stinson" wrote:

Is there a way to have the spreadsheet screen refresh after the macor is
finished instead of during the macro run? Currently the changes to the
spreadsheet are reflected as the macro runs. I would like the user to see
just one refresh when the macro is complete.

Tom



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default screen refresh

thank you

"Alan" wrote:

At the start of the macro use the statement

Application.ScreenUpdating=False


stinson wrote:
Is there a way to have the spreadsheet screen refresh after the macor is
finished instead of during the macro run? Currently the changes to the
spreadsheet are reflected as the macro runs. I would like the user to see
just one refresh when the macro is complete.

Tom



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default screen refresh

thank you

"Kassie" wrote:

Application.ScreenUpdating = False
at the start, and just before the end
Application.ScreenUpdating = True

--
kassie

never stop learning




"stinson" wrote in message
...
Is there a way to have the spreadsheet screen refresh after the macor is
finished instead of during the macro run? Currently the changes to the
spreadsheet are reflected as the macro runs. I would like the user to see
just one refresh when the macro is complete.

Tom




  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default screen refresh

Dim Old_ScrUpdate as Boolean
'Begin get status of Property Application.ScreenUpdating into Old_ScrUpdate
Old_ScrUpdate=Application.ScreenUpdating
Application.ScreenUpdating = False

.....Do It...

'Get old status
Application.ScreenUpdating = Old_ScrUpdate

It's better!


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 Refresh Michael H Excel Discussion (Misc queries) 4 November 8th 05 04:46 PM
stop screen refresh mangesh_yadav[_65_] Excel Programming 0 September 1st 04 03:59 PM
stop screen refresh Jean-Yves[_2_] Excel Programming 0 September 1st 04 03:55 PM
refresh van uw screen commando Matthias Excel Programming 1 December 23rd 03 03:35 PM
Screen refresh problem. Nigel Brown[_2_] Excel Programming 0 September 17th 03 03:21 PM


All times are GMT +1. The time now is 07:29 AM.

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

About Us

"It's about Microsoft Excel"