View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
RyanH RyanH is offline
external usenet poster
 
Posts: 586
Default Holding a constant page while the macro runs in the background

This should do it for you.

Sub YourMacro()

Application.ScreenUpdating = False

'your code

MsgBox "The file has been updated."

Application.ScreenUpdating = True

End Sub
--
Cheers,
Ryan


"Joe Mac" wrote:

Hello all...

I've got a macro the performs multiple file open steps and copies range data
back and forth between pages on alternating workbooks... the macro works
fine... what I'm looking to do is to hold a constant page while the macro
steps operate in the background and when all steps are completed, then to pop
a message box indicating that the file has been updated... any help would be
appreciated
--

Joe Mac