Conditional Copy

  • Thread starter Thread starter pambear
  • Start date Start date
P

pambear

I want to copy a row of data only if the value in column
B is a particular customer's name. How do I
conditionally copy data?
 
I need more info really - but assuming your code is walking down a load of rows - a simple IF would do the job.

If lcase(Range("B" & activecell.row).value)="fred bloggs" the
....do the cop
els
activecell.offset(1,0).selec
end if
 

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