Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default date filter for yesterday and today

Hi,
sorry I guess thats very easy for you but I dont know how to do it.

I would like to filter for yesterday and today.

At the moment I am only filtering for yesterday:

ActiveSheet.Range("$A$1:$CL$8641").AutoFilter Field:=1, Criteria1:= _
xlFilterYesterday, Operator:=xlFilterDynamic

What do I have to add so that that it filters for both days?

Thanks
Thomas
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
File saved yesterday is blank today, how do I retrieve? MelB New Users to Excel 2 February 12th 10 03:56 PM
Change Date code to yesterday/day before ,,,, J.W. Aldridge Excel Programming 0 January 13th 09 03:44 PM
Filter and Delete all rows with a date greater than or = today Tasha Excel Programming 0 February 5th 08 10:11 PM
IF TODAY equals date in cell A10, or if TODAY is beyond that date SoupNazi Excel Worksheet Functions 4 April 23rd 07 01:14 AM
worked yesterday- doesn't work today Qaspec Excel Programming 8 February 25th 05 04:39 AM


All times are GMT +1. The time now is 07:17 PM.

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

About Us

"It's about Microsoft Excel"