i try :
Public Function LTDYS(LftDate As Date, MyPtNm As String)
Dim MyDate
Dim LValue As Integer
Dim MnthCnt As String
MyDate = DateSerial(Year(LftDate), Month(LftDate), Day(LftDate))
LValue = DateDiff("d", MyDate, Date)
If LValue < 10 Then
MnthCnt = "day"
Else
MnthCnt = "days"
End If...