+ Reply to Thread
Results 1 to 2 of 2

Run macro on cells meeting criteria

  1. #1
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    Run macro on cells meeting criteria

    I have a spreadsheet with dates in column B.

    I have a macro routine that pastes formula into Column C. I only want to paste the formula into rows in column C where the date in Column B = today or yesterday (dynamically).

    Can anyone assist with the code that would do that - I can then run my macro afterwards

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Run macro on cells meeting criteria

    Please show your existing code. Use CODE tags (see my signature).
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. [SOLVED] Count Data Meeting Criteria Across Columns Meeting Criteria
    By idelta in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-06-2015, 03:53 PM
  2. [SOLVED] SUMPRODUCT for cells meeting the criteria
    By alice2011 in forum Excel General
    Replies: 0
    Last Post: 06-18-2015, 04:04 PM
  3. Sum cells in a row meeting criteria
    By Murrayk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-24-2012, 01:51 AM
  4. Counting Cells meeting certain criteria
    By Ozwilly in forum Excel General
    Replies: 5
    Last Post: 10-29-2011, 03:30 AM
  5. Counting Cells meeting certain criteria
    By Ozwilly in forum Excel General
    Replies: 1
    Last Post: 10-29-2011, 03:01 AM
  6. Replies: 2
    Last Post: 06-24-2010, 04:53 PM
  7. Replies: 3
    Last Post: 07-21-2009, 02:16 PM

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