Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Screen Updating on Open Workbook

I have written a macro to open 19 workbooks, copy a few rows of info, and
then write the copied rows to a consolidaton workbook. Everything is working
fine except I get the screen updated every time a new workbook opens even
though I have explicitly included Application.ScreenUpdate = False.

Does any one have any ideas about how to stop the screen from showing the
opening and closing of each workbook?

Thanks a lot.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Screen Updating on Open Workbook

Hi Paul,

There must be something in your code which explicitly, ot implicitly, resets
the screenupdating setting. However, without seeing your code it is
difficult to speculate.

Certainly, code such as the following works for me without the refressh
problems that you encounter:

'=============
Public Sub TesterAAA()
Application.ScreenUpdating = False
Dim i As Long

For i = 1 To 3
Workbooks.Open Filename:="Tester" & i & ".xls"
Call MyMessage
Next i
Application.ScreenUpdating = True

End Sub

'-----------

Public Sub MyMessage()
MsgBox "Ciao!"
End Sub
'<<=============


---
Regards,
Norman



"PaulZ" wrote in message
...
I have written a macro to open 19 workbooks, copy a few rows of info, and
then write the copied rows to a consolidaton workbook. Everything is
working
fine except I get the screen updated every time a new workbook opens even
though I have explicitly included Application.ScreenUpdate = False.

Does any one have any ideas about how to stop the screen from showing the
opening and closing of each workbook?

Thanks a lot.



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
link updating on workbook open ernremf Links and Linking in Excel 0 December 23rd 08 12:55 PM
How do I open several worksheets from the same workbook on screen Innovman 2006 Excel Worksheet Functions 4 June 12th 06 04:57 PM
Screen Updating Raman325[_9_] Excel Programming 2 June 30th 05 08:45 PM
Screen Updating Michael Excel Worksheet Functions 3 March 14th 05 09:53 PM
Screen updating Stratuser Excel Programming 0 April 16th 04 05:20 PM


All times are GMT +1. The time now is 06:43 PM.

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

About Us

"It's about Microsoft Excel"