kweaver
Well-known Member
- Joined
- May 12, 2009
- Messages
- 2,940
- Office Version
- 365
I'm looping through rows of a sheet and want to find the column number when Sheets("Data").Cells(i,1) matches a value in another sheet in a range.
For example, what is the matching column number when Sheets("Data").Cells(i, 1) matches a value in Sheets("Output").Range("$G$4:$Z$4")
The match could be column 7, 8, 9, etc. and there will be a match and will be only once.
For example, what is the matching column number when Sheets("Data").Cells(i, 1) matches a value in Sheets("Output").Range("$G$4:$Z$4")
The match could be column 7, 8, 9, etc. and there will be a match and will be only once.
Last edited: