I am looking for advice of what to do, as my xlsm spreadsheet takes 2 mins ( 120 secs ) to run.
365 Excel running on onedrive
There are 54 pages
No addins
All routines are in Thisworkbook
The first routine reads in data from a stored mdb file on onedrive using con.Provider = "Microsoft.ACE.OLEDB.12.0" ( 9000 lines of data, each of 90 records ) but only takes 3 secs
In running each routine, most are very fast. However there 2 nearly identical routines that take 30 secs and 22 secs, but in them there a lot of "For each sheet" If statements. So I can understand the time taken.
But where can I find what is gobbling up all the remaining time of 68 secs ??
Any advice or guidance
365 Excel running on onedrive
There are 54 pages
No addins
All routines are in Thisworkbook
The first routine reads in data from a stored mdb file on onedrive using con.Provider = "Microsoft.ACE.OLEDB.12.0" ( 9000 lines of data, each of 90 records ) but only takes 3 secs
In running each routine, most are very fast. However there 2 nearly identical routines that take 30 secs and 22 secs, but in them there a lot of "For each sheet" If statements. So I can understand the time taken.
But where can I find what is gobbling up all the remaining time of 68 secs ??
Any advice or guidance