Hi guys,
So I have a spreadsheet that contains a macro that copies a range of three cells (each of which contain a unique formula) and paste it into a large range. The following is the formula for each of the three cells:
=IF(ISBLANK(INDEX('Staged D'!$A$1:$EW$554,$A6,D$3)),"",INDEX('Staged D'!$A$1:$EW$554,$A6,D$3)+INDEX('Coord + C'!$G:$G,D$2,0))
=IF(ISBLANK(INDEX('Staged D'!$A$1:$EW$554,$A7,D$3)),"",INDEX('Staged D'!$A$1:$EW$554,$A7,D$3)+INDEX('Coord + C'!$J:$J,D$2,0))
=IF(ISBLANK(INDEX('Staged D'!$A$1:$EW$554,$A8,D$3)),"",INDEX('Staged D'!$A$1:$EW$554,$A8,D$3)+INDEX('Coord + C'!$M:$M,D$2,0))
I copy these three cells [Range(D6:D8)] to Range(D6:EX1652)
In Excel 2007 or 2010, this pastespecial formula operation takes about 60 seconds. In Excel 2003, it takes about 2.5 seconds. I timed it. Why does this take so much longer in the new Excel? This is slowing my macro down tremendously. I have tried turning off calculations, screen updating, and enable events but none of those made the operation any faster.
Any ideas on why the new and better Excel operates slower?
Thanks for the help.
John
So I have a spreadsheet that contains a macro that copies a range of three cells (each of which contain a unique formula) and paste it into a large range. The following is the formula for each of the three cells:
=IF(ISBLANK(INDEX('Staged D'!$A$1:$EW$554,$A6,D$3)),"",INDEX('Staged D'!$A$1:$EW$554,$A6,D$3)+INDEX('Coord + C'!$G:$G,D$2,0))
=IF(ISBLANK(INDEX('Staged D'!$A$1:$EW$554,$A7,D$3)),"",INDEX('Staged D'!$A$1:$EW$554,$A7,D$3)+INDEX('Coord + C'!$J:$J,D$2,0))
=IF(ISBLANK(INDEX('Staged D'!$A$1:$EW$554,$A8,D$3)),"",INDEX('Staged D'!$A$1:$EW$554,$A8,D$3)+INDEX('Coord + C'!$M:$M,D$2,0))
I copy these three cells [Range(D6:D8)] to Range(D6:EX1652)
In Excel 2007 or 2010, this pastespecial formula operation takes about 60 seconds. In Excel 2003, it takes about 2.5 seconds. I timed it. Why does this take so much longer in the new Excel? This is slowing my macro down tremendously. I have tried turning off calculations, screen updating, and enable events but none of those made the operation any faster.
Any ideas on why the new and better Excel operates slower?
Thanks for the help.
John