+ Reply to Thread
Results 1 to 6 of 6

non-working holidays

Hybrid View

barkarlo non-working holidays 05-23-2011, 03:05 PM
Bob Phillips Re: non-working holidays 05-23-2011, 04:27 PM
barkarlo Re: non-working holidays 05-25-2011, 12:48 PM
Miraun Re: non-working holidays 05-25-2011, 02:26 PM
barkarlo Re: non-working holidays 05-25-2011, 03:23 PM
Bob Phillips Re: non-working holidays 05-25-2011, 06:17 PM
  1. #1
    Registered User
    Join Date
    01-26-2007
    Posts
    21

    Re: non-working holidays

    Quote Originally Posted by Miraun View Post
    It appears that you may be over complicating the situation slightly.
    Rather than a separate function for the holidays, there is a pre-existing function =Workday that functions similarly. This function uses an array for the holiday values.
    Rather than the imbedded dates within the VBA, I'd recommend setting those to another worksheet, and name the array of holidays (for however many years of data you have), as "Holidays"
    Then using Bob Phillip's equation, you can get what you're looking for within the employee data worksheet.
    OK, I'll make a separate table with a list of holidays, but would like to know how to implement a written VBA code in the formula.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: non-working holidays

    Quote Originally Posted by barkarlo View Post
    OK, I'll make a separate table with a list of holidays, but would like to know how to implement a written VBA code in the formula.
    Why do you insist on that unnecessary step?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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