xlfiltercopy and formatting

B

Bob

Does the speed of execution of xlfiltercopy get impacted if the data is
formatted or not formatted?

I am using the following inside a macro
Range("M5:U3500").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range _
("R1:R2"), CopyToRange:=Range("A5:I1500"), Unique:=True
When I paste data into the Range (m5:u3500) using "paste, special, values
only", then the the filter and copy runs very fast, but when I paste the same
data into the Range (m5:u3500) using "paste", then the filter and copy slows
down significantly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top