






| |
Holidays! for Excel Function Tutorial
- Open/Load the Holidays! Add-In (
vbsHolidays.xla)
- Start a new workbook (e.g. Book 1).
- In Sheet 1 of the new workbook, enter the following values to the cells,
so it looks like the picture below.
Cell
|
Value
|
| A1 |
"Year" |
| B1 |
2002 |

- Place the cellpointer in cell B2, and select
Insert | Function... from the menu.

- The Paste Function dialog will appear...
In the Function Category list (left), select "User
Defined".
This will display ALL the Holidays! functions in the Function Name
list (to the right).

- Select any of the Holidays! functions in the list, and then select the OK
button.
- Excel will prompt you for any parameters, in this case, we must pass a
"Year" (e.g. 2002) or a reference to a cell that contains a Year.
In our example, cell B1 contains the Year, so enter B1 and select the
OK button.

- Your worksheet will look similar to the picture below.
Notice that the Holidays! function returned the number 37370!
We simply need to Format the cell with a Date format.

- Select Format | Cells... from the menu.

- In the Format Cells dialog, select the Number Tab, and then Date
in the Category list.
Then select any of the valid Date formats in the Type list (Note that
you can also select Custom in the category list, and enter any date
format you'd like!).

|