ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Migrating to Excel 2007 (https://www.excelbanter.com/excel-discussion-misc-queries/249050-migrating-excel-2007-a.html)

RussellT

Migrating to Excel 2007
 
I use the following code to filter data in Exel 2003.
Sheets("DevData").Range(SourceDev).AdvancedFilter Actiion:xlFilterCopy,
CriteriaRange:=Sheets("FilterControl").Range(Crite rion2),
CopyToRange:=Sheets("Results").Range("A10:BH10"), Unique:=False.
Range("SourceDev") is about 50,000 row x 52 column.
The macro works perfectly and returns results in about 2 to 3 seconds. The
same code in Excel 2007 locks up. I've tried to running the same code in
smaller workbooks with 2,500 rows and 52 columns. In 2003 I get results in 2
seconds in 2007 it takes 80 to 90 seconds. Any suggestions on code changes
or setting that will help me. Thanks

Herbert Seidenberg

Migrating to Excel 2007
 
Excel 2007
Try
Action:=xlFilterCopy
instead of
Actiion:xlFilterCopy
Tried 500 by 25 array.
Did not notice any delay.
http://www.mediafire.com/file/ymjmkdytozd/11_20_09.xlsm

Jon Peltier[_2_]

Migrating to Excel 2007
 
The code wouldn't compile with this error.

Depending on the computer's memory and processor, Excel 2007 may work
nearly as quickly as 2003, or it may work vastly slower. Particularly on
"large" data sets, where large is smaller than the capacity of 2003
worksheets.

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/



Herbert Seidenberg wrote:
Excel 2007
Try
Action:=xlFilterCopy
instead of
Actiion:xlFilterCopy
Tried 500 by 25 array.
Did not notice any delay.
http://www.mediafire.com/file/ymjmkdytozd/11_20_09.xlsm



All times are GMT +1. The time now is 08:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com