PC Review


Reply
Thread Tools Rate Thread

ActiveWorkbook.Application.ScreenUpdating = False Not Working

 
 
DoctorV
Guest
Posts: n/a
 
      25th Aug 2004
have a very long procedure which does many things. I set the first lin
of my code to ActiveWorkbook.Application.ScreenUpdating = False
Usually when I have done this the user does not see all the scree
flickering and the actions of your procedure but for this one you se
all of that. How can I set this so that the user does not see all o
the Screen Updating and when they click All Done they can continu
working?

Thanks


ActiveWorkbook.Application.ScreenUpdating = False
Application.DisplayAlerts = False
ActiveSheet.Unprotect
Application.Run ("MoveLongQuoteData")

Sheets(Array("Final Long Quote")).Select
Sheets("Final Long Quote").Activate
Application.Run ("Unhide")
Application.Run ("pic")
Application.GoTo Reference:="R2:R64000"
Selection.Copy
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:
_
False, Transpose:=False
Application.CutCopyMode = False
Sheets("Long_Quote").Select
ActiveSheet.Protect
Application.Run ("FitFormsRowSize_Long_Quote")
Application.Run ("DeleteLongQuoteRows")
Application.Run ("SetLongQuote_Autonumber")
Application.Run ("LongQuote_AddPageBreaks")
Application.Run ("FormatFinalLongQuote")
Application.DisplayAlerts = True
ActiveWorkbook.Application.ScreenUpdating = True
MsgBox "All Done

--
Message posted from http://www.ExcelForum.com

 
Reply With Quote
 
 
 
 
Trevor Shuttleworth
Guest
Posts: n/a
 
      25th Aug 2004
Think you just need:

Application.ScreenUpdating = False

Regards

Trevor


"DoctorV >" <<(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> have a very long procedure which does many things. I set the first line
> of my code to ActiveWorkbook.Application.ScreenUpdating = False.
> Usually when I have done this the user does not see all the screen
> flickering and the actions of your procedure but for this one you see
> all of that. How can I set this so that the user does not see all of
> the Screen Updating and when they click All Done they can continue
> working?
>
> Thanks
>
>
> ActiveWorkbook.Application.ScreenUpdating = False
> Application.DisplayAlerts = False
> ActiveSheet.Unprotect
> Application.Run ("MoveLongQuoteData")
>
> Sheets(Array("Final Long Quote")).Select
> Sheets("Final Long Quote").Activate
> Application.Run ("Unhide")
> Application.Run ("pic")
> Application.GoTo Reference:="R2:R64000"
> Selection.Copy
> Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:=
> _
> False, Transpose:=False
> Application.CutCopyMode = False
> Sheets("Long_Quote").Select
> ActiveSheet.Protect
> Application.Run ("FitFormsRowSize_Long_Quote")
> Application.Run ("DeleteLongQuoteRows")
> Application.Run ("SetLongQuote_Autonumber")
> Application.Run ("LongQuote_AddPageBreaks")
> Application.Run ("FormatFinalLongQuote")
> Application.DisplayAlerts = True
> ActiveWorkbook.Application.ScreenUpdating = True
> MsgBox "All Done"
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
application.screenupdating = false not working =?Utf-8?B?U2FicmU=?= Microsoft Excel Programming 11 13th Apr 2007 07:46 PM
Application.ScreenUpdating = False Not Working =?Utf-8?B?U2hlbGx5?= Microsoft Excel Programming 3 28th Mar 2007 01:53 AM
Screen still changes. Why ? (Application.Screenupdating = False not working Coza Microsoft Excel Programming 1 21st Mar 2007 03:47 AM
'Application.ScreenUpdating = False' isn't working Dan R. Microsoft Excel Programming 6 2nd Mar 2007 01:10 AM
Using the Application.ScreenUpdating = False? Susan Hayes Microsoft Excel Programming 1 29th Jan 2005 02:16 PM


Features
 

Advertising
 

Newsgroups
 


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