Eliminate screen flashing while running a macro using VBA in Microsoft Excel.

  • Thread starter Thread starter abbeville
  • Start date Start date
A

abbeville

Can someone please help me? I built a workbook on my desktop with th
intention of using it as a template. I entered the code to eliminat
screen flashing & it worked fine on the desktop but as soon as I save
it as a template it slowed down & it still flashed to some extent
 
Hi
try
sub foo()
application.screenupdating = false
'your code
application.screenupdating = True
end sub

If you already have used this you may post the relevant part of your
macro that still flashes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top