Excel vba application screenupdating does not work

Screen Updating = True Msg Box "done" End Subthank you vbfbryce I'll try and check that out as soon as I get to an Excel 2013 Meanwhile I can add something that could help you help me out I get the unwanted flickering occurs while switching between workbooks.

i must admit that my Screen Update does not help to make the code readable so this mistake could have happened to many of us...

excel vba application screenupdating does not work-44

- still, I have that flickering with excel 2013-W8 and not with excel 2010-W7 since the main sub (and those called by it) has to open all those many workbooks, for reading data inside them, I'm starting to think flickering is due to this.

but with no idea of why should that happen with excel 2013-W8 only.

besides, both machines are laptops and the excel2013-W8 being more powerful, so that should not be a matter of opening file speed, should Application. and just to finish checking all of your suggestions/doubts @westconn1: I actually put calls to my Screen Updatejust(False, previous Screen Update) at the beginning of every procedure to make sure I had 'Application.

Anyone interested in running for office must file an application by August 1st.

If you'd like to be considered for the job ..ci.us/human-resources/Pages/Employment Opportunities.

Listed below are all of the latest job opportunities with the City, ...

Moscow, Idaho 83843 A City application is required to apply.

i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case. Screen Updating = True End If For j = 1 To 200000 ws. Finally I must add that those two Excel run on different machines: Excel 2010 with W7 and Excel 2013 with W8 I think that's all, for now you should avoid any code that selects or activates anything, work with fully qualified ranges instead of selection i believe that screenupdating can only be relied on to work correctly within the procedure it is called, if in doubt just put at the beginning of every procedure i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.

Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next Sub put Numbers In Cells() Dim ws As Worksheet Dim j As Long Dim resp As Integer Set ws = Active Sheet resp = Msg Box("Turn off updating? Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next dim previous Screen Update as boolean Call my Screen Update(False, previous Screen Update) 'to get the current setting into previous Screen Update Call my Screen Update(True, false) 'to set updating to false 'do your heavy code here and when finished: Call my Screen Update(True, previous Screen Update)maybe you have fiddled around with the code and thought the first "Call my Screen Update(True, previous Screen Update)" is useless/wrong?

Tags: , ,