Question on macro (copying filtered selection into the newworkbook

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

Guest

I've got 2 worksheets in the workbook. Worksheet A has a chart, based on the
data in w/s B. Worksheet B can be filtered by values in the 10th column
(let's say, values AAA, BBB, and CCC).

I need to write a macro, where the user can select one of the filtering
values (for example BBB) and the macro would filter worksheet B by BBB
criteria, copy all filtered rows in worksheet B and whole worksheet A, create
a new workbook and paste w/s A and selection of w/s B into it.

How do I write a macro for it ? Thanks!
 

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