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 and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Macro to open another user's Inbox



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 27th 10, 10:09 AM posted to microsoft.public.outlook.program_vba
lizlexy
external usenet poster
 
Posts: 1
Default Macro to open another user's Inbox

I'm trying to find code to create a macro to open another user's mailbox
which I have access to. Please can you help?
Thanks!

Ads
  #2  
Old April 27th 10, 03:36 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Macro to open another user's Inbox

The easiest and most complete way would be to add that mailbox to your
Outlook profile so it gets opened as soon as you open Outlook. That's a
non-code solution.

If you just want to get a specific default folder open you should look at
the Object Browser help on NameSpace.GetSharedDefaultFolder().

--
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


"lizlexy" wrote in message
...
I'm trying to find code to create a macro to open another user's mailbox
which I have access to. Please can you help?
Thanks!


  #3  
Old April 30th 10, 08:59 AM posted to microsoft.public.outlook.program_vba
pmkdatabase
external usenet poster
 
Posts: 1
Default Macro to open another user's Inbox


'Ken Slovak - [MVP - Outlook Wrote:
;142544']The easiest and most complete way would be to add that mailbox
to your
Outlook profile so it gets opened as soon as you open Outlook. That's
a
non-code solution.

If you just want to get a specific default folder open you should look
at
the Object Browser help on NameSpace.GetSharedDefaultFolder().



I need to do this as well, but sorry to be dense - I don't understand
how to go about it. Say I add the mailbox to the profile, and open
Outlook with that profile. Then I have multiple mailboxes. Now I am
using VBA code from Access as follows:
Set oFolder =
Outlook.Application.Session.GetDefaultFolder(olFol derInbox)

How can I identify which mailbox is which? Also, does the other user
have to specifically share the mailbox? Thanks.


--
pmkdatabase
http://forums.slipstick.com

 




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
Check Other User's Calendar Macro Dan Outlook - Calandaring 3 February 26th 10 10:51 AM
Code to open another user's inbox when I'm in cached exchange mode mcollins Outlook and VBA 5 October 7th 07 02:14 PM
How to connect to another user's Inbox [email protected] Outlook and VBA 3 July 19th 07 06:13 AM
How can delegates get new mail notifications for another user's Inbox? Alan Outlook - General Queries 0 February 15th 07 03:55 PM
Forwarding a copy of a form from a Public Folder to a user's inbox Bubba Smith Outlook - Using Forms 5 October 10th 06 04:57 PM


All times are GMT +1. The time now is 04:55 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.