Sub Demo() Dim MyDate As Date MyDate = CDate(InputBox("Please input a date", "Date Entry")) MsgBox "The # days difference between the input date and today is:" & vbCr & vbTab & Int(Now() - MyDate) End Sub