Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 477
Default Date criteria in query

Are you working with the Advanced FIlter Tool?
If so, then set your criteria as follows:

example in Cells Z1:Z2

Z1= CriteriaHeader
Z2= = " & today() - 7"

Give that a go..
HTH


" wrote:

What would the syntax be in the "Value" line of a field if I wanted
only the most recent seven days to appear in the results?

Thank you.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Query criteria based on a changing criteria list bwilk77 Excel Discussion (Misc queries) 2 May 27th 09 04:03 PM
Query criteria J-LL Excel Discussion (Misc queries) 0 January 16th 09 03:08 PM
Convert hard coded query criteria to Parameter Query Melanie[_2_] Excel Discussion (Misc queries) 0 July 15th 08 09:59 PM
query criteria question Dcbrown428 Excel Discussion (Misc queries) 1 November 18th 05 05:20 PM
MS Query & Criteria Mark[_49_] Excel Programming 1 July 28th 04 01:25 PM


All times are GMT +1. The time now is 10:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"