Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Filtering by date range

Posted on 2012-04-04
3
Medium Priority
?
96 Views
Last Modified: 2013-01-29
Once I strip a ~15MB Excel spreadsheet down to semi-manageable size i am left with data in columns E to O.

Column N contains dates.

I need a macro that would contain both a lower and upper limit date.
When the macro is run it would change all the rows that fall outside the set date limits.

The row being from Ex to Ox

Those rows that fall outside the date limits, their default text color would change to [White, Background 1, Darker 5%]

Any row (Ex to Ox) would stay its automatic color if it falls within the date range and the remaining rows (Ex to Ox) would change to a very lite gray making but not quite invisible.

Thanks in advance for any assistance.
0
Comment
Question by:dgd1212
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
AgeOfEmpires earned 2000 total points
ID: 37809330
Have you considered Conditional Formatting?  In Excel 2010 it is quite flexible.  You could create a formatting rule that looks at the dates and applies your format on those dates that fall outside a given range.
0
 

Author Comment

by:dgd1212
ID: 37811781
Conditional formatting is not viable in this case. The macro I'm inquiring about is the first step to a number items, hopefully, that can be done with this worksheet.
Thanks
0
 

Author Comment

by:dgd1212
ID: 37830499
I have attached an example, a PDF file. Contains two screen shots. First is raw data.
Second is the needed result, for example , a date range of May/June. All other dates "not" in that range turn a light gray [White, Background 1, Darker 5%].
Thank you for any assistance.
EE-Example.pdf
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question