Can people provide a list of suggestions on setting that will speed up the Excel automation process?
Example: Set ObjXL.Visible = False - speeds up the process since graphics don't need to be updated.
Dim ObjXL as Excel.Application
All database reports use Excel Objects to create a new workbook, move data into it, and complete many detailed formating, data analysis, and custom formula entry.
An application, such as MS Access 2010 creates an excel object, sets the visible property to false, creates all the details, performs a SaveAs with a custom name/location and destroys the object variable.
It all works perfectlly every time.
The code can range one to three pages.
Does anyone have suggestions on what settings to put in place when the ObjXL instance is created?
Settings that can be set at the beginning of the VBA automation for speed and then set back before the final Save As
Things such as the re-caculate fields?
Or, boosting the Thread Priority?
Workbook.ForceFullCalculation ?
Application.ScreenUpdating = False ?
Application.Calculation = xlCalculationManual ?
Bookmarks