[
This is where i get an error:
![]()
Private Sub CommandButton1_Click() Dim fdate As Date Dim sdate As Date Dim n As Integer fdate = DateValue(startDate) sdate = DateValue(sendDate) n = DateDiff("d", fdate, sdate) MsgBox n End Sub
[
This is where i get an error:
![]()
Private Sub CommandButton1_Click() Dim fdate As Date Dim sdate As Date Dim n As Integer fdate = DateValue(startDate) sdate = DateValue(sendDate) n = DateDiff("d", fdate, sdate) MsgBox n End Sub
Last edited by davesexcel; 01-21-2011 at 09:27 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks