Many times the macro may do quite a bit with the data, such as selecting different cells, replacing values or formulas, and taking other types of actions. This means that the Excel screen can look like it has "gone crazy" while the macro is running. One thing you may want to do with your macro to make it run faster and to prevent distracting flashes on the screen is to turn off screen updating while the macro is running.
The following macro lines will, respectively, turn off screen updating and then turn it back on in a VBA macro. Thus, the main body of your macro can do its work behind the scenes without the necessity of stopping to update the screen. ExcelTips is your source for cost-effective Microsoft Excel training. This tip applies to Microsoft Excel , , and You can find a version of this tip for the older menu interface of Excel here: Turning Off Screen Updating.
Author Bio Allen Wyatt With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. Learn more about Allen Word doesn't provide a way to do it, but you can use the short macro Discover More Replacing Spaces in Part Numbers with Dashes Word has a power capability to search for information and then replace that information in some way. Discover More Changing Orientations within a Single Printout Excel allows you to print out information in either portrait or landscape orientation, but what if you need both types of Discover More Excel Smarts for Beginners!
Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel For Dummies today! For instance, if you routinely need to create new Discover More Deleting Old Data from a Worksheet If you keep on-going data in a worksheet, some of your data—over time—may need to be deleted.
If you have an This can make it hard to understand when you look at it a month Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe.