![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I made a macro (O 2003), wich changes to a public calendar folder and opens a group calendar connected to this calendar via SendKeys. On my machine that's working fine even if I am in an email or contacts folder. On my clients machines the macro overhauls itself and the menubar for the calendar is not yet available when I trigger SendKeys. ************** CODE **************** Function OpenGroupCalendar(strGTP As String) Dim ALL_VAR As OBJECT_XY Set myOlApp = CreateObject("Outlook.Application") Set myNameSpace = myOlApp.GetNamespace("MAPI") Set myFolder = myNameSpace.Folders("Public Folder").Folders("All Public Folders").Folders("CompanyXY").Folders("CalendarAc counting") Set myExplorer = myOlApp.ActiveExplorer Set myExplorer.CurrentFolder = myFolder Set cbb = ActiveExplorer.CommandBars.FindControl(, 7002) SendKeys "%ö" If Not cbb Is Nothing Then cbb.Execute Set ALL_VAR = Nothing End Function ************ END OF CODE ************** Thank you Frank |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Search folder with no categories in O2003? | [email protected] | Outlook - General Queries | 2 | June 16th 06 08:41 AM |
Outlook 2007 - can't open a calendar within a public folder | Bryan S. | Outlook - Calandaring | 1 | June 6th 06 09:25 PM |
O2003: exchange and imap emails arriving in same folder | [email protected] | Outlook - General Queries | 5 | May 13th 06 02:25 AM |
O2003+SBS: Automatic formatting in views of public folders | Jan Serpieters | Outlook - Installation | 5 | April 6th 06 08:50 PM |
O2003+SBS: Automatic formatting in views of public folders | Jan Serpieters | Outlook - Installation | 0 | March 21st 06 08:00 AM |