+ Reply to Thread
Results 1 to 3 of 3

Alert and filtering based on conditional formatting VBA

  1. #1
    Registered User
    Join Date
    06-28-2013
    Location
    London, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    69

    Alert and filtering based on conditional formatting VBA

    Hi all,

    Looking for some help with VBA. I want to build a macro that runs when the workbook is initialized that will filter a sheet based on a due date (where the duedate<= Today()+90). What the Macro should do is filter the worksheet so that only the records with due dates in this range will be displayed and possibly throw in a message box "Projects due in the next 3 months".

    Any help with this would be greatly appreciated!

    Thanks,

    Wolfman

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Alert and filtering based on conditional formatting VBA

    Please attach a sample workbook with enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Note: Please don't attach documents containing confidential data like (address, telephone, ID#s, etc.).


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    06-28-2013
    Location
    London, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    69

    Re: Alert and filtering based on conditional formatting VBA

    Here is a sample workbook. So what I need to happen is that when the workbook initializes it filters the column based on the date. Conditional formatting rules can be viewed. The macro should filter based on these same rules I think. Let me know if you need anything else. I will be working on this today as well so hopefully can come to a solution!

    Thanks,

    Wolfman
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Conditional Formatting Alert because of Due Date
    By ticjac in forum Excel General
    Replies: 7
    Last Post: 05-18-2013, 09:02 AM
  2. Conditional formatting to alert me when a delivery date is due
    By Rex81 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2013, 10:28 PM
  3. Looking for Conditional Formatting formula to alert overlapping times
    By lzuke in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-17-2012, 01:08 PM
  4. Conditional Formatting After Filtering?
    By EzRouter in forum Excel General
    Replies: 0
    Last Post: 04-17-2012, 10:43 AM
  5. [SOLVED] conditional formatting when filtering
    By be_insane in forum Excel General
    Replies: 10
    Last Post: 11-02-2005, 06:17 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1