Change Code from a Worksheet

  • Thread starter FIRSTROUNDKO via OfficeKB.com
  • Start date
F

FIRSTROUNDKO via OfficeKB.com

Hi

I have the code

If Cells(NB, 5).Value = "WALK" or Cells(NB, 5).Value = "BIKE" or Cells(NB, 5)
.Value = "BUS" Then

I would like to have

WALK
BIKE
BUS
....... and editions

in Sheet A Col A

so my code line would be something like

If Cells(NB, 5).Value = " Value in cells Sheet A Col A " Then

Thanks in advance for any help
 
G

Guest

If not iserror(Application.Match(Cells(NB,
5).Value,worksheets("sheetA").columns(1),0)) Then
 

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

Top