Welcome to MSDN Blogs Sign in | Join | Help
Adding Holidays to Your Outlook Calendar

One of the more popular features for Outlook’s calendar is the capability to add your country or region’s holidays into your calendar. This way, you’ll never miss the next holiday.

Adding holiday items to your calendar is pretty easy:

  1. From the Tools menu, click Options, then click Calendar Options.
  2. Click the Add Holidays button under Calendar options.

    CalendarOptions

  3. Select the check box next to your location, and any other location you might be interested in, and then click OK.
    clip_image005

Note for Outlook 2003 users

When we shipped Outlook 2003, we only included holiday information through the end of 2007. Since it’s now 2008, you’re probably wondering how you can get holidays back on your calendar again. An update is now available to fix this issue by downloading and installing a patch for Outlook 2003.  More information is available through knowledge base article 924423.

This update will replace the holiday file (Outlook.hol) with the latest holiday information, and you can use the same process from above to add holidays for 2008 and beyond into your calendar.

Watch Out For Duplicates

Each time you import a set of holidays, Outlook will create a new appointment for each item in the holiday file for the locations you select. There is no duplicate checking, so if you have already added holidays once, adding them again will cause two all day events to be added for each holiday.

Outlook 2007 will prompt you if you have already imported a set of holidays, warning that duplicates may be created.

Create Your Own Holidays

You can also customize the Outlook holiday file to include your own holiday information. You might choose to do this if a particular local holiday is not included in the Outlook file and you want to deploy new holiday information to a large group of people (if you just want to do this for yourself, it’s probably easier to just add events directly to your calendar).

You can open the holiday file, usually located in C:\Program Files\Microsoft Office\Office<Ver>\<LCID>\Outlook.hol, to edit which holidays are added to your calendar when you import holidays. For example, if you are using a US English version of Outlook 2007, you would usually find your holiday file at C:\Program files\Microsoft Office\Office12\1033\Outlook.hol. If you don’t know the LCID of your language, look for a folder under the Office12 folder that only has a numerical name, that’s probably the right one.

Note: You need to be a local administrator on the computer to edit the holiday file.

After you have the file open, you’ll find a listing of holidays for several different locations. Each location’s holidays start with a header, that includes the location name inside square brackets, and the number of holidays listed for that location. For example, for the United States you might see a header like this:

[United States] 168

If you add additional holidays to the file, make sure to increment the number or some holidays will be missed.

Each line inside a section represents a specific instance of a holiday. For example, the section for holidays in the United States contains a line like this:

Groundhog Day,2008/2/2

This line includes the holiday name (Groundhog Day), then a comma, and then the date the holiday occurs in the format year/month/day. To add your own holidays to the calendar, just add new lines to the bottom of the file in the same format, save the file, and then import your location’s holidays.

If you decide to edit the holiday file to add your own holidays, consider adding them as a brand new location instead of adding them to an existing location. This way you can choose to import only the new holidays without creating duplicates of the existing holidays you have previously added. For example, if you wanted to create a listing of all your associates birthdays, you could add a listing like this to the end of the file:

[Birthdays] 3
Ryan's Birthday,2008/1/1
Ryan's Birthday,2009/1/1
Ryan's Birthday,2010/1/1

After you have finished editing the holidays file, remember to keep a back up. Because the file is installed with Outlook, it can be modified or replaced with the original if you install an update or upgrade to a newer version.

For more information about adding or removing holidays, see Office Online. There is also more information over on Outlook-Tips.net, a site run by one of our Outlook MVPs.

Enjoy,
Ryan Gregg
Outlook Program Manager

Posted: Friday, January 18, 2008 10:19 PM by outblog

Comments

Mikel Ward said:

I just did this for Australia, and it said Australia Day was Sunday January 27.  It is always on January 26, which is a Saturday this year.  (There is also a public holiday called "Australia Day Observance" or "Australia Day Holiday" on Monday January 28.)

http://www.australiaday.gov.au/pages/page512.asp

http://www.business.vic.gov.au/scripts/nc.dll?BUSVIC:STANDARD:1001:pc=PC_50544.html

I wish you gave users an easy way to report bugs!

# January 18, 2008 9:39 PM

Jeffrey W. Cox said:

Very nice!

You learn something new everyday.  Funny; I've always wanted a feature similar to this, and, being that we sell an add-in for Outlook and work very deeply in Outlook, I didn't know this was there.  

Thanks very much for the post!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Jeffrey W. Cox

President & CEO

Foresight

An add-in for Microsoft Outlook that truly lets you get the * right * things done!

email: jeffrey@fixyourtodolist.com

web: http://www.fixyourtodolist.com

blog: http://www.fixyourtodolist.com/blog

-------------------------------------------

Get ready to get your To Do list done!  Visit http://www.fixyourtodolist.com today and sign up to keep informed!

# January 21, 2008 10:31 AM

Kim said:

Any Suggestions on how to update over 3000 outlook users, that all do not use the same workstation everyday would be very useful information.

Kim

# February 1, 2008 11:17 AM

jschneider37@hotmail.com said:

If I'm inviting people to an event via. a webpage, how can I include a link that says "Add this event to your Outlook Calendar"?

# February 12, 2008 3:23 PM

Anand said:

First three steps to add 2008 Holidays in the Outlook2003 are manual. Can it be automated, so users don't have to manually click "Add Holidays.."?

I can launch Outlook.exe /hol "holfilename" but it still prompts me to click OK on above your 3rd step.

I was wondering if anyone else know how to make this copletely automated.

# February 13, 2008 9:51 AM

Frank said:

I was also looking for any suggestions to doing this on a massive scale (6000 users). Currently Outlook 07 doesn't have the holidays installed. I can install them manually but how would I go about it using say Group Policy or login Script?

Thanks guys!

# February 18, 2008 4:42 PM

Sean said:

If you have SUA or Cygwin available (or stronger skills than I in PowerShell) it should be a fairly trivial matter to simply find & xargs in a replacement. Put the new .hol file in a shared location and then push them out by running a script like the below on each box:

find -name Outlook.hol | xargs mv SharedLocation\Outlook.hol

That will replace every instance of a file named Outlook.hol with the new shared one.

# March 5, 2008 2:42 PM

Adam said:

The 2008 update didn't work for me. It said the expected version of the program was not found. I am running Microsoft Outlook 2003. Help?

# March 7, 2008 9:51 AM

Sierra said:

Current syntax to add a holiday is Event Name,YYYY/MM/DD  Once this is posted to the calendar, it is defaulted to "show item as" = free, and "all day event" = checked.  I understand this is a HOLIDAY, which would be shown on your calendar this way  BUT is there a way to be more specific (to indicate times and busy status)?  Please advise.

# March 18, 2008 11:43 AM

outblog said:

Sierra: The holiday file only supports adding all day events to the calendar that are shown as Free.

You could write a macro to add many appointments to a calendar with more specific settings, such as free/busy or start and end times.

Another option would be to save the appointments in an iCalendar or PST and import them onto your calendar.

# March 19, 2008 6:57 PM

Barb Wash said:

We can not customize the calendar.

We would like SAT/SUN in one block leaving 6 days showing.

Mon., Tues., Wed.,one page

Thurs., Fri., Sat/Sun., on the other page.

When we print the calendar for our planners that is how 2003 worked...

This is very frustrating...

# June 18, 2008 3:31 PM

I J Black said:

However often I try, I can't get Outlook 2007 to show any holidays, including the default American ones. It does show alternate calendars but no holidays. Every response I've gotten from allegedly knowledgeable people, including on this site, sends me to a MS page about Outlook 2003 and updating its hol file. My hol file, dated from 2006, came with the product, MS Office 2007 Enterprise Edition.

Please help!

# June 25, 2008 8:31 PM

Azhar said:

how can I launch outlook from sharepoint site? Like I have a link called MY INBOX in sharepoint site and when i click it, it should launch outlook.

# July 16, 2008 1:10 AM
New Comments to this post are disabled
Page view tracker