Application and Screen handling Updating
Posted on 2011-09-04
I have a fairly complex Workbook that as I have integrated a lot of different graphics/charts and formulas, I now have a performance problem. It didn't emerge until the most recent additions. I have been experimenting with
Application.ScreenUpdating = True or False
Application.EnableEvents = True or False
But it only seems to work on certain functions and I'm not sure when to use one over the other or if it's better to use both. The most recent example is when I go to clear all of the data (to refresh it for new input), I have a chart/graph that updates as changes to input occur. When I activate my "Clear All" Macro, all the data disappears (as it should) but the graphic slowly resets itself and I can literally watch it reset ( it takes about a minute). Any ideas or education you can give me on what I may need to do to improve the performance?