AutoFilter

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I am trying to write a piece of code that filters a data set on various
values. I am looping through each value to be filtered first. If there are
items returned from the filter then I want to only copy the filtered items to
a new worksheet without the column headings and also compute an average for a
particular column of values from the filtered range. Any ideas or thoughts?

Thanks,
Mike
 
Is this something where you would normally use Excel's built-in
autofilter - if so then using this in your code, rather than looping
through each of the rows, will be much quicker (if you have lots of
criteria then the autofilter route isn't so hot)

J
 
Yes, I would normally be using the Autofilter command witin Excel. I intened
 

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

Back
Top