screen refresh

G

Guest

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
 
G

Guest

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

Kassie

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

Guest

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top