Destinct records macro

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

Guest

I tried but I just do not know where to start. I need macro that would look
at Worksheet("DATA").range("B:B"), intentfy the destinct records and list it
on worksheet("shipping").range("B:B"). This must automaticly happen if
worksheet Data is populated. Advance filter does not work because the result
is on a different worksheet.

Thank you for all the help.
 
If you know what the distinct values will be, then you can hard code those
values (ie air-domestic, air-international, etc.)

Therefore the answer is use the worksheet_active event: use a FOR...NEXT
counter statement. Nest a SELECT CASE ELSE statement unto the ellipsis. Look
in the VBA help files for a clearer understanding of these procedures. Now,
get lost!
 
Thank you, and the "Now, get lost!" hurts.


Jason S. said:
If you know what the distinct values will be, then you can hard code those
values (ie air-domestic, air-international, etc.)

Therefore the answer is use the worksheet_active event: use a FOR...NEXT
counter statement. Nest a SELECT CASE ELSE statement unto the ellipsis. Look
in the VBA help files for a clearer understanding of these procedures. Now,
get lost!
 

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