Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello
I am running reports, and enabling the user to set the criteria via a form. The criteria works well, except when I tried adding a date range (See Below). Not quite sure what the syntax is. Any help would be much appreciated. Thanks AC ' THIS DOES NOT WORK ' If Not IsNull(Me.StartDt) And Not IsNull(Me.EndDt) Then strWhere = strWhere & "([ProposalDate] Between """ & Me.StartDt And Me.EndDt & """) AND " End If ' THIS WORKS ' If Not IsNull(Me.cmb_RequestType) Then strWhere = strWhere & "([RequestType] = """ & Me.cmb_RequestType & """) AND " End If |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Report using dates as a criteria | Excel Worksheet Functions | |||
Need to report a count that meets multiple criteria. | Excel Worksheet Functions | |||
Monthly Total report based on 2 or 3 criteria. VBA or Formula | Excel Discussion (Misc queries) | |||
Print report based on criteria | Excel Discussion (Misc queries) | |||
report by DV & date criteria | Excel Worksheet Functions |