Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
MS Query - Filtering all dates greater than the current date
I'd like to return only data by filtering a date field for any date past the
current date. I can filter using [is greater than ()] but it seems my only choices are a date that is already in the field or a static date I enter. I need to use an expression such as [CurrentDate] or [now()] but these don't seem to work in Microsoft query as they do in Access or Crystal. Microsoft Excel 2007 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
MS Query - Filtering all dates greater than the current date
Sub filterplustoday()
ActiveSheet.Range("A1").AutoFilter field:=1, _ Criteria1:="" & Format(Date, "mm/dd/yyyy") End Sub -- Don Guillett Microsoft MVP Excel SalesAid Software "BridgeBuilder" wrote in message ... I'd like to return only data by filtering a date field for any date past the current date. I can filter using [is greater than ()] but it seems my only choices are a date that is already in the field or a static date I enter. I need to use an expression such as [CurrentDate] or [now()] but these don't seem to work in Microsoft query as they do in Access or Crystal. Microsoft Excel 2007 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Trying to pull the data for current date - Query | New Users to Excel | |||
How do I get the most current date from a list of dates? | Excel Discussion (Misc queries) | |||
Count number of days between dates BUT IF null to current date | Excel Worksheet Functions | |||
How do I enter a date range ie -7 from current date in MS QUERY | Excel Discussion (Misc queries) | |||
How to make drop-down list of dates start with current date? | Excel Discussion (Misc queries) |