Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,564
- Office Version
- 365
- 2016
- Platform
- Windows
Rich (BB code):
With ws_staffrec
sdate = .Range("AF6").Value
refrow = Application.WorksheetFunction.Match(sdate, ws_master.Columns(1), 0)
The line in red is giving me an "Unable to get the Match property of the WorksheetFunction class." error.
The value of sdate [ws_staffrec.range("AF6")] = 2020-04-09 (sdate is declared date)
A value of 2020-04-09 exists in ws_master, column 1 at cell A116.
Is anyone able to advise why my match is failing? I know working with dates can sometimes be awkward.
Last edited: