Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,616
- Office Version
- 365
- 2016
- Platform
- Windows
I usually use the MATCH function to find a particular row number based on the criteria I have available.
For example
Will provide me the row number in which the value of RID can be found in column A of worksheet ws_psttemp.
I need to take this one set further by adding a second criteria. I'm not sure if I can use the MATCH function anymore
So, what I need to do is find the first row number in which column A = the value of RID AND column B = "Diamond"
Is anyone able to suggest a vba approach to this?
For example
Code:
trew = Application.WorksheetFunction.Match(RID, ws_psttemp.Columns("A"), 0)
I need to take this one set further by adding a second criteria. I'm not sure if I can use the MATCH function anymore
So, what I need to do is find the first row number in which column A = the value of RID AND column B = "Diamond"
Is anyone able to suggest a vba approach to this?