![]() |
| 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. |
|
|||||||
| Tags: open, possible, profiles, same, time, two, vba |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I would like to open two Outlook profiles at the same time in order to do a
little data comparison/synchronization of calendar data. Is this possible, and if so, how? I created a VBA macro within Outlook. This VBA macro tries to logon to a specified NameSpace. Unfortunately it appears this NameSpace.Logon is being ignored (all subsequent operations happen to the currently open profile). I tried passing true in the NewSession parameter, but that did not have an effect. It's now my understanding that it may not be possible to use VBA to open two profiles even if the VBA code resides outside of the Outlook application (called directly from a VB project or another Office application). Can I get around this? In case you're wondering why I want to do this, and perhaps someone can suggest a work-around, I am trying to get around another apparent limitation that Outlook will not display calendar data from an Exchange server and from a personal .pst file within one profile. The personal data in the .pst file is not allowed to reside on the corporate Exchange server (simply marking it as private is not sufficient). I would also love to learn of a way to view one calendar from exchange and one from a .pst file in the same profile, which would then both be accessible to one VBA routine. |
| Ads |
|
#2
|
|||
|
|||
|
You can't do it. You can only log into one Outlook profile, then close
Outlook and log in with a different profile. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "carteriii" wrote in message ... I would like to open two Outlook profiles at the same time in order to do a little data comparison/synchronization of calendar data. Is this possible, and if so, how? I created a VBA macro within Outlook. This VBA macro tries to logon to a specified NameSpace. Unfortunately it appears this NameSpace.Logon is being ignored (all subsequent operations happen to the currently open profile). I tried passing true in the NewSession parameter, but that did not have an effect. It's now my understanding that it may not be possible to use VBA to open two profiles even if the VBA code resides outside of the Outlook application (called directly from a VB project or another Office application). Can I get around this? In case you're wondering why I want to do this, and perhaps someone can suggest a work-around, I am trying to get around another apparent limitation that Outlook will not display calendar data from an Exchange server and from a personal .pst file within one profile. The personal data in the .pst file is not allowed to reside on the corporate Exchange server (simply marking it as private is not sufficient). I would also love to learn of a way to view one calendar from exchange and one from a .pst file in the same profile, which would then both be accessible to one VBA routine. |
|
#3
|
|||
|
|||
|
I don't understand what limitation you're seeing. Outlook is perfectly capable of showing calendars in both a mailbox and one or more .pst files. Those files should, of course, reside on your local hard drive. They are completely separate from your mailbox.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "carteriii" wrote in message ... In case you're wondering why I want to do this, and perhaps someone can suggest a work-around, I am trying to get around another apparent limitation that Outlook will not display calendar data from an Exchange server and from a personal .pst file within one profile. The personal data in the .pst file is not allowed to reside on the corporate Exchange server (simply marking it as private is not sufficient). I would also love to learn of a way to view one calendar from exchange and one from a .pst file in the same profile, which would then both be accessible to one VBA routine. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VBA shortcut to open custom form in design mode? | Burma Jones | Outlook - Using Forms | 2 | March 6th 06 07:17 PM |
| Outlook calendar time zone: current time is 1 hour ahead of clock | Natalie | Outlook - Calandaring | 2 | February 12th 06 05:26 AM |
| I get multiple copies of the same email every time I open outlook | Rick | Outlook - General Queries | 1 | February 11th 06 05:58 PM |
| How do I have multiple profiles open an once | matzkamis | Outlook - Installation | 5 | January 26th 06 03:50 AM |
| Changing Series Appt time from All Day to set time | Bryan | Outlook - General Queries | 1 | January 17th 06 03:24 AM |