0

How can I change my code below to check if the value is in my list? ALso, How can I change the for C = 1 to 1000 to make it automatically check from 1 to n where n is the total amount of columns?

Dim c As Long, r1 As Range
arrList = Array("A", "B", "C", "D")
For c = 1 To 1000
    If Cells(1, c).Value = "A" Then
        Cells(1, c).Select
JPWilson
  • 691
  • 4
  • 14

0 Answers0