Quantcast
Channel: VBA: for loop skip if cell matches another column - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by anefeletos for VBA: for loop skip if cell matches another column

Let say column to check is Column EDim ColumnToCheck as Range Set ColumnToCheck=range("Sheets2!E:E") For Counter = 2 To 5 ValueToCheck= Sheets("Sheet1").Cells(Counter, 1).Value If Not...

View Article



VBA: for loop skip if cell matches another column

How can I loop trough a column and skip the rows where the cell value matches a list in another sheet?For Counter = 2 To 5 rst.AddNew rst.Fields("Title") = Sheets("Sheet1").Cells(Counter, 1).Value...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images