WorkDay (c) Cyber Solutions Ltd 2002

Overview

WorkDay is a DLL component which allows calculation of working (no weekends) or non working days (weekends only) inclusive between two specified dates. Dates may be between 1-Jan-1900 and 31-Dec-9999. Up to 10 public holidays may be specified.  The DLL may be referred to from any Microsoft application e.g. Visual Basic, Access VBA, Excel VBA.


Setup

Run SETUP.EXE to register the DLL.  In Visual Basic, take the Project option on the menu and select References.  If you cannot see WorkDays, use the browse button to find it. Select the check box against it so that this is ticked.  In Access open a module and select Tools / References fom the menu. In Excel use Alt-F11 to open the code window and use Tools / References from the menu.

Sample Code

Dim wd As New WorkDay
x = wd.WorkDay("29-sep-02", "17-oct-02")
MsgBox x & " Workdays"
x = wd.NonWorkDay("29-sep-02", "17-oct-02")
MsgBox x & " Non Workdays"


Email tollside@yahoo.com for help

Register

If you intend to use WorkDay you must PAY for it. Please make a donation using PayPal - see below.  The donation can be anything depending on how you value the program - anythingfrom $1 upwards although we feel the program is worth more.


Use PayPal - https://www.paypal.com.  Our email is tollside@yahoo.com.  Put WorkDay in the subject. The registered copy will be emailed to you - there are no message boxes in this version.