ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Eliminate screen flashing while running a macro using VBA in Microsoft Excel. (https://www.excelbanter.com/excel-programming/299055-eliminate-screen-flashing-while-running-macro-using-vba-microsoft-excel.html)

abbeville

Eliminate screen flashing while running a macro using VBA in Microsoft Excel.
 
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

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


Frank Kabel

Eliminate screen flashing while running a macro using VBA in Microsoft Excel.
 
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

--
Regards
Frank Kabel
Frankfurt, Germany

"abbeville " schrieb im
Newsbeitrag ...
Can someone please help me? I built a workbook on my desktop with the
intention of using it as a template. I entered the code to eliminate
screen flashing & it worked fine on the desktop but as soon as I

saved
it as a template it slowed down & it still flashed to some extent.


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




All times are GMT +1. The time now is 01:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com