To insert the formula itself into cell A3, use the following code line: Sometimes you may find it useful to disable screen updating (to avoid flickering) while executing code. You can instruct Excel VBA not to display alerts while executing code. For example, place a command button on your worksheet and add the following code line: When you click the command button on the worksheet, Excel VBA closes your Excel file and asks you to save the changes you made. To instruct Excel VBA not to display this alert while executing code, update the code as follows. As a result, Excel recalculates the workbook automatically each time a value affecting a formula changes. If you look at the formula bar, you can see that the formula itself is not inserted into cell A3. For example, place a command button on your worksheet and add the following code lines: As a result, your code will run much faster and you will only see the end result (10000).
Is their a way of turning off screen updating, so that whatever I am doing the screen truly does not update?At every fiftieth line, the macro selects the line and refreshes the screen. Turn screen updating off to speed up your macro code.I would appreciate any suggestions as to what look out for and where we might find some performance gains, please. others will help you out but to begin with make sure the database is thoroughly normailzed and tables adequately indexed.Ensure the app and data are in separate files (split front end and back end) Ensure that the data sits on the server and that the app sits on each of the user's PC and is linked to the data file on the server.