Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88066

Read two columns using nested for loop

$
0
0

I need to read two columns it's like an excel reconciliation, I need to capture column B and column W then column B check 1 record and match this record from W column if column B record and column W record match then it needs to move the new worksheet. anyone can check or advise me on how to do this nested for loop. and how to capture column B & W for nested For loop.

  For i = 2 To 20

   Rows.Cells(i, 2).Select
   Rows.Cells(i, 2).Select
   Rows.Cells(j, 31).Select
      Next j
   Next i

Viewing all articles
Browse latest Browse all 88066

Trending Articles