lastDateofMonth = DateAdd("m", 1, DateSerial(Year(Date), Month(Date), 1)) - 1. Debug.Print firstDateofMonth, TypeName(firstDateofMonth).
確定! 回上一頁