Hi,
I have some compiled VB code than has not changed for 8 years, the code(macro) creates a workbook by doing a lot of copying, pasting, formula changes etc.
When run in 2013 it takes about 20 mins compared to about 3 in 2003,2007 & 2010. I have examined all the usual suspects like (oXL is my Excel Application)
oXL.Calculation = xlCalculationManual
oXL.ScreenUpdating = False
oXL.EnableEvents = False
Activesheet.DisplayPageBreaks = False
I've taken passwords off workbooks also as this has been mentioned could slow things down in 2013 due to higher encription.
It is clearly something that has happened to the Excel Application since the introduction of 2013.
Does anyone have any other idea/experience of where to go next (3 days experimenting so far to no avail). Ironically when I step through the code in VB6 it is QUICKER than when compiled?? Work that out...
Thanks in advance for any advice
Steve
Steve Stretch