A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Calandaring
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Corporate Holiday file



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 23rd 07, 08:59 PM posted to microsoft.public.outlook.calendaring
Keith LeLievre
external usenet poster
 
Posts: 1
Default Corporate Holiday file

Is there a way to push the Corporate holidays to all users using a GPO or
some other method, rather than sending the file to all users with
instructions on how to install it?

Thank You.
Ads
  #2  
Old October 24th 07, 05:53 AM posted to microsoft.public.outlook.calendaring
John Guin[_2_]
external usenet poster
 
Posts: 46
Default Corporate Holiday file

We use a shared calendar at work and have all users view it in overlay mode.
We also track vacations and such on it.

You could do something similar by creating a calendar with all the holidays
on it. Then you could email it as an ical file - when people double click
it, it would get added to their store automatically as a new calendar.

To deploy it via policy would (probably) require writing a utility to import
the calendar items from the source and then export them to the user's local
calendar. Add that script to everyone's login scripts. Cumbersome,
admittedly, but puts the burden on IT instead of the users.
--
Thanks,
John Guin
OneNote Test Team
http://blogs.msdn.com/johnguin


"Keith LeLievre" wrote:

Is there a way to push the Corporate holidays to all users using a GPO or
some other method, rather than sending the file to all users with
instructions on how to install it?

Thank You.

  #3  
Old October 24th 07, 11:12 AM posted to microsoft.public.outlook.calendaring
Tiemroth
external usenet poster
 
Posts: 1
Default Corporate Holiday file

Hi i´ve been using this ( appointments is in danish, but im sure you get the
picture)

'Outlook 2003 - Import af Helligdage/Fridage

Dim strAppointment,FixedAppointment

FixedAppointment = "Juleaftensdag 2015"

Const olFolderCalendar = 9

Const olAppointmentItem = 1

Const olOutOfOffice = 3

Set objOutlook = CreateObject("Outlook.Application")

Set objNamespace = objOutlook.GetNamespace("MAPI")

Set objCalendar = objNamespace.GetDefaultFolder(olFolderCalendar)

Set objDictionary = CreateObject("Scripting.Dictionary")

For Each strAppointment In objCalendar.Items

If strAppointment = FixedAppointment Then

wscript.quit

Else

objDictionary.Add "Januar 1, 2007", "Nytårsdag"

objDictionary.Add "April 1, 2007", "Palmesøndag"

objDictionary.Add "April 5, 2007", "Skærtorsdag"

objDictionary.Add "April 6, 2007", "Langfredag"

objDictionary.Add "April 8, 2007", "PÃ¥skedag"

objDictionary.Add "April 27, 2007", "Pinsedag"

objDictionary.Add "April 28, 2007", "2. Pinsedag"

objDictionary.Add "Juni 5, 2007", "Grundlovsdag"

objDictionary.Add "December 24, 2007", "Juleaftensdag"

objDictionary.Add "December 25, 2007", "1. juledag"

objDictionary.Add "December 26, 2007", "2. juledag"

objDictionary.Add "Januar 1, 2008", "Nytårsdag"

objDictionary.Add "December 24, 2015", "Juleaftensdag 2015"

colKeys = objDictionary.Keys

For Each strKey in colKeys

dtmHolidayDate = strKey

strHolidayName = objDictionary.Item(strKey)

Set objHoliday = objOutlook.CreateItem(olAppointmentItem)

objHoliday.Subject = strHolidayName

objHoliday.Start = dtmHolidayDate & " 9:00 AM"

objHoliday.End = dtmHolidayDate & " 16:30 PM"

objHoliday.AllDayEvent = True

objHoliday.ReminderSet = False

objHoliday.BusyStatus = olOutOfOffice

objHoliday.Save

Next

wscript.quit

End if

Next




"Keith LeLievre" wrote:

Is there a way to push the Corporate holidays to all users using a GPO or
some other method, rather than sending the file to all users with
instructions on how to install it?

Thank You.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 200 Corporate [email protected] Outlook - General Queries 9 February 17th 07 02:12 AM
Corporate Calendar JayW Outlook - Calandaring 1 August 11th 06 09:56 PM
Corporate Calendar Rianne Outlook - Calandaring 0 July 10th 06 08:41 PM
Corporate vs Internet E-mail dstubb Outlook - Installation 5 June 3rd 06 01:39 PM
how do I set the "show time as" field in the Outlook holiday file Robert Garrucho Outlook - Calandaring 3 January 27th 06 05:11 PM


All times are GMT +1. The time now is 01:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.