The syntax for using the Item property with the Cells property is as follows:
Cells.Item(Row,Column)
You must use a numeric value for Row, but you may use the numeric value or string value for Column. Both of the following lines refer to cell C5:
Cells(5,"C")
Cells(5,3)
Because the Item property is the default property of the RANGE object, you can shorten these lines as follows:
Cells(5,"C")
Cells(5,3)
I recently discovered you can do this:
For Each cell In Range("A2:A3")
Cells(cell.Row,3)
How can I do this (I need the correct syntax)
For Each cell In Range("A2:A3")
Cells(cell.Row,cell.Row.NamedColumn"Customer")