+ Reply to Thread
Results 1 to 7 of 7

Macro to run if workday date is after the 7th of every month

  1. #1
    Forum Contributor
    Join Date
    08-10-2017
    Location
    Lansing, Michigan
    MS-Off Ver
    2016
    Posts
    140

    Macro to run if workday date is after the 7th of every month

    On my sheet "Test" I have workday formulas in cells C6 and C7. I am trying to reference these dates in those cells so if the date is after the 7th of any month, it runs the rest of the IF statement. What I have below recognizes any date as after the 7th.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,143

    Re: Macro to run if workday date is after the 7th of every month

    What do these formulas look like ("workday formulas in C6 and C7 cells") ?

  3. #3
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Macro to run if workday date is after the 7th of every month

    Hiya, try this out...

    Please Login or Register  to view this content.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,570

    Re: Macro to run if workday date is after the 7th of every month

    Skip first six days?
    Please Login or Register  to view this content.
    Ben Van Johnson

  5. #5
    Forum Contributor
    Join Date
    08-10-2017
    Location
    Lansing, Michigan
    MS-Off Ver
    2016
    Posts
    140

    Re: Macro to run if workday date is after the 7th of every month

    =WORKDAY(D6,E6) which returns the date 12/31/18
    =WORKDAY(D7,E7) which returns the date 1/1/2019

  6. #6
    Forum Contributor
    Join Date
    08-10-2017
    Location
    Lansing, Michigan
    MS-Off Ver
    2016
    Posts
    140

    Re: Macro to run if workday date is after the 7th of every month

    Poizhan: That works, thanks!

    Thank you both for your help!

  7. #7
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Macro to run if workday date is after the 7th of every month

    You're welcome, have a good day

+ 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] WORKDAY + Beginning of Month!
    By Keibri in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-23-2016, 05:09 PM
  2. [SOLVED] EOMONTH + WORKDAY for more than 1 month!
    By Keibri in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-22-2016, 06:12 AM
  3. Closest workday occuring on, or before the 25th of the month
    By craig_1974 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2012, 10:34 AM
  4. [SOLVED] Determine the 2nd WorkDay of a Month
    By Hudas in forum Excel General
    Replies: 7
    Last Post: 03-22-2012, 05:09 PM
  5. Find First Workday of Month Value Excl Holiday
    By the.ronin in forum Excel General
    Replies: 8
    Last Post: 04-14-2011, 10:09 PM
  6. calculate workday before x month
    By XLS-EXCEL in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-05-2007, 11:59 AM
  7. Excel2000 VBA: First workday of month
    By Arvi Laanemets in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-09-2005, 03:05 AM

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