ما هو الخطأ في الجملة الاخيرة
Dim nowDate as Date
Dim myDate As Date
Dim MonthNum
nowDate=Date
myDate = Format((TextDay1 + "/" + TextMonth1 + "/" + Str(Val(TextYear1))), "DD/MM/YYYY")
MonthNum=DateDiff("m",nowDate,myDate)الخطأ موجود في السطر الاخير ولا اعرف ما هو
الرجاء المساعدة