thread705-1207464
A couple of questions about the code in this closed thread...it seems to be just what I'm looking for, but I'm getting "User-defined type not defined".
> Why is this line commented out?
' ReDim MyDates(dtEnd - dtSt + 1)
> Where do I put this? I've tried it in the same module as the rest of the code, and a separate module. No luck.
Private Type MyDtHrsType
MyDate As Date
MyHrs As Single
End Type
Thanks.
A couple of questions about the code in this closed thread...it seems to be just what I'm looking for, but I'm getting "User-defined type not defined".
> Why is this line commented out?
' ReDim MyDates(dtEnd - dtSt + 1)
> Where do I put this? I've tried it in the same module as the rest of the code, and a separate module. No luck.
Private Type MyDtHrsType
MyDate As Date
MyHrs As Single
End Type
Thanks.