I am receiving the error "unable to get the match property of the worksheet function class". I suspect my data as input into the function is not allowing for the smooth operation of the function. Below is the code.
TS is a workbook.worksheet variable
D is a Date variable
G is a Range variable
Code:
C = TS.Cells(A, "A").value D = TS.Cells(A, "B").value
E = TS.Cells(A, "C").value
Set G = PBK.Range("A1").CurrentRegion
F = Application.WorksheetFunction.Match(D, G, 0)
TS is a workbook.worksheet variable
D is a Date variable
G is a Range variable