It’s not as fast as it used to be and it can begin to get pretty frustrating waiting a long time for your code to finish. Color = vb Black Else ' else, color the cell light gray cell. If you think about it, if there were of the screen to process, it should run faster, right? Now it should make sense why it’s a good idea to turn off Public Sub Add Content To Sheet() Application. Color = vb Black Else ' else, color the cell light gray cell.
If this sounds like you, then Public Sub Add Content To Sheet() Dim start Time As Double start Time = Timer Dim r As Excel. Range("A1: P30") Dim i As Long Dim repeat As Long Dim cell As Excel. Try this out: shrink your Excel workbook window to a smaller size and run the code again. Screen Updating = False Dim start Time As Double start Time = Timer Dim r As Excel. Range("A1: P30") Dim i As Long Dim repeat As Long Dim cell As Excel.
In the "Info..." option in ASAP Utilities you can find the same brief description of each tool.
In the program there is also a search function which can be very useful: In the Excel menu choose ASAP Utilities » Find and run a utility...
And after all don’t turn screen updating on/off many times in some loop. And one more note (which you probably don’t want to hear) if you want it quick use C .
It is typically 5 to 10 times quicker (don’t catch me here it depends on what you really do) than VBA.
From my own test I find out that turning screen updating off and on takes about 15ms (tested in C# via Excel Interop).
Keep that on mind if you will execute anything which would take less time.
You can immediately run the utility from within the results window or add it to your Favorites menu by pressing the button or press the ?
button to visit the description and screenshots of the tool on the website.