![]() |
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
|
|||
|
|||
![]()
Application-ActiveExplorer-CommandBars trrow error in outlook 2007. How to
access command bars for outlook 2007 |
Ads |
#2
|
|||
|
|||
![]()
Assuming you actually have an ActiveExplorer(), it should work and provide
access to the CommandBars collection of that Explorer. I use Application.ActiveExplorer.CommandBars all the time in Outlook 2007 VBA code. Of course if this is running somewhere other than in Outlook VBA the Application object probably doesn't refer to Outlook.Application. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Ashish" wrote in message ... Application-ActiveExplorer-CommandBars trrow error in outlook 2007. How to access command bars for outlook 2007 |
#3
|
|||
|
|||
![]()
I get the command bar on raw_OnStartupComplete where it throw excedption for
outlook 2007. While for outlook 2003 it's ok. "Ken Slovak - [MVP - Outlook]" wrote in message ... Assuming you actually have an ActiveExplorer(), it should work and provide access to the CommandBars collection of that Explorer. I use Application.ActiveExplorer.CommandBars all the time in Outlook 2007 VBA code. Of course if this is running somewhere other than in Outlook VBA the Application object probably doesn't refer to Outlook.Application. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Ashish" wrote in message ... Application-ActiveExplorer-CommandBars trrow error in outlook 2007. How to access command bars for outlook 2007 |
#4
|
|||
|
|||
![]()
Try using Outlook.Application.Explorers[1] in that event handler rather than
ActiveExplorer(). See if that helps. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Ashish" wrote in message ... I get the command bar on raw_OnStartupComplete where it throw excedption for outlook 2007. While for outlook 2003 it's ok. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
changing outlook 2007 default behaviour (follow up - flag for me,menu bars in email creation, adding appointment to a diff calendar fromappointment window) | [email protected] | Outlook - Installation | 3 | June 14th 08 10:03 AM |
Outlook 2007 command line switch | [email protected] | Outlook - General Queries | 2 | March 7th 07 10:57 PM |
Send Command in Outlook 2007 Disapeared | Saputo | Outlook - General Queries | 5 | March 1st 07 07:48 PM |
Problem Accessing command bars on Outlook 2003 | Douglas Abbink | Add-ins for Outlook | 2 | December 8th 06 06:04 PM |
Cant access web sites fron RUN command-only through Google | carpetbagger | Outlook Express | 4 | March 22nd 06 05:32 PM |