G
GMet
I want to use the NETWORKDAYS function in VB. Here is what I have:
WrkDaysInMon=Application.WorksheetFunction.Networkdays(StartDate,FinishDate,
Worksheets("Lists").Range("V3:V24"))
In the spreadsheet body it works fine with:
=Networkdays(P4,R4,Lists!V3:V24)
When I try to use it in a macro, I get the message "Object doesn't support
this property or method"
What have I done wrong?
TIA
GMet
WrkDaysInMon=Application.WorksheetFunction.Networkdays(StartDate,FinishDate,
Worksheets("Lists").Range("V3:V24"))
In the spreadsheet body it works fine with:
=Networkdays(P4,R4,Lists!V3:V24)
When I try to use it in a macro, I get the message "Object doesn't support
this property or method"
What have I done wrong?
TIA
GMet