Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Alexis
 
Posts: n/a
Default Advanced Filtering by Date (or Macro) Help

I'm trying to use the advanced filter with a date as one of the filter
cateria (it will be inside a macro).

I'm trying to use the "=now()-60" format for the date, because I need
information to be filtered so that anything greater than or equal to that 2
month back date shows up. I can get it to work when I manually set the date,
but as part of a macro, I don't think it's going to work.

The only other thing I can think of is having the macro promt the user for
the date, and I've looked around, and haven't been able to find a way to
prompt a use while the macro is running. I could just be blind. Any ideas?

Thanks for the help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron de Bruin
 
Posts: n/a
Default Advanced Filtering by Date (or Macro) Help

EasyFilter have this option on thye Date tab
Choose Days in the dropdown on the date tab
http://www.rondebruin.nl/easyfilter.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Alexis" wrote in message ...
I'm trying to use the advanced filter with a date as one of the filter
cateria (it will be inside a macro).

I'm trying to use the "=now()-60" format for the date, because I need
information to be filtered so that anything greater than or equal to that 2
month back date shows up. I can get it to work when I manually set the date,
but as part of a macro, I don't think it's going to work.

The only other thing I can think of is having the macro promt the user for
the date, and I've looked around, and haven't been able to find a way to
prompt a use while the macro is running. I could just be blind. Any ideas?

Thanks for the help



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
ADVANCED FILTERING IN EXCEL 2003 Colin Sandall Excel Discussion (Misc queries) 0 January 12th 06 05:34 PM
Advanced Filtering Tony Excel Worksheet Functions 3 April 29th 05 11:48 AM
How do I set a date range for conditional formatting in a macro? billo Excel Worksheet Functions 3 February 7th 05 06:19 PM
Date Overdue function, Macro, or VBS Galsaba Excel Discussion (Misc queries) 5 January 14th 05 12:26 AM
extracting numbers with no more than 8-digits using advanced filtering Gauthier Excel Worksheet Functions 10 October 29th 04 10:06 PM


All times are GMT +1. The time now is 10:13 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"