Excel 2013 application.screenupdating = true not updating

A code that works on Excel 2010 using this pattern
Sub Test()
for i = 1 to 1000
   application.screenupdating = false
   'Some code'
   'update worksheet'
   application.screenupdating = true
next i
end sub

Open in new window


is not working on Excel 2013 the worksheet hangs until the end of the code and only then you can see the updates.
any ideas?

I saw this workaround (and it does not work for me)
Sub test()
   application.screenupdating = false
   call yourcodesub()
   application.screenupdating = true
end sub

sub yourcodesub()
   'your code here'
end sub

Open in new window

LVL 5
Nadav SolomonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark BillExchange, AD, SQL, VMware, HPE, 3PAR, FUD, Anti MS Tekhnet, Pro EE, #1Commented:
Have we got Office 2013 Service Pack 1 installed and all windows updates installed after this is installed.

Try this.

Thanks
0
Nadav SolomonAuthor Commented:
office is up to date, try what?
0
Mark BillExchange, AD, SQL, VMware, HPE, 3PAR, FUD, Anti MS Tekhnet, Pro EE, #1Commented:
Install the updates and try again if your up to date ill have to come at it from another angle so.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Nadav SolomonAuthor Commented:
as I've wrote office is up to date, thanks though.
0
Nadav SolomonAuthor Commented:
adding this line (little pause before application.screenupdating = false solved the problem
Application.Wait DateAdd("s", 1, Now)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Nadav SolomonAuthor Commented:
found the solution
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.