View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Bob Bob is offline
external usenet poster
 
Posts: 972
Default xlfiltercopy and formatting

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.