P
pinkfloydfan
Hi there
Using Excel 2003
In VBA I have a one-dimensional array of dates called dateslist() and
wish to test what position in this array a single date value (called
jdate) is at.
To do this I am using the following in my code:
datepos = Application.WorksheetFunction.Match(jdate, dateslist, 0)
BUT, it keeps returning an error "Run-time error 1004: Unable to get
the Match property of the WorksheetFunction class"
Anybody know how to fix this please? Or a better way to get the
answer I am seeking?
Many Thanks
Lloyd
Using Excel 2003
In VBA I have a one-dimensional array of dates called dateslist() and
wish to test what position in this array a single date value (called
jdate) is at.
To do this I am using the following in my code:
datepos = Application.WorksheetFunction.Match(jdate, dateslist, 0)
BUT, it keeps returning an error "Run-time error 1004: Unable to get
the Match property of the WorksheetFunction class"
Anybody know how to fix this please? Or a better way to get the
answer I am seeking?
Many Thanks
Lloyd