Exchange Empfängernamen auslesen

Status
Not open for further replies.
J

Jörg Harnisch

Exchange Empfngernamen auslesen

Hallo NG,

ich suche schon geraume Zeit in NG's und über Google.

Leider fehlt mir der Ansatz. Ich möchte per vba die Namen der möglichen

Empfänger in einem Exchange Server auslesen und damit ein Dopdown füllen.

Ich hab mit recipients "rumgespielt" aber irgendwie bekomme ich das nicht

hin. Kann mir jemand einen Ansatz liefern?

Danke

Jörg
 
=?iso-8859-1?Q?Re:_Exchange_Empf=E4ngernamen_auslesen?=

Hi Jörg,


> ich suche schon geraume Zeit in NG's und über Google.


The primary language in this newsgroup is english.


> Leider fehlt mir der Ansatz. Ich möchte per vba die Namen der möglichen
> Empfänger in einem Exchange Server auslesen und damit ein Dopdown füllen.
> Ich hab mit recipients "rumgespielt" aber irgendwie bekomme ich das nicht
> hin. Kann mir jemand einen Ansatz liefern?


Dim oGAL As Outlook.AddressList

Set oGAL = Application.GetNameSpace("MAPI").GetGlobalAddressList()

Dim oAE As Outlook.AddressEntry

For Each oAE in oGAL.AddressEntries

Debug.Print oAE.Name & " <" & oAE.Address & ">"

Next

SvenC
 
Re: Exchange Empfngernamen auslesen

Hello and Thanks - it works fine

"SvenC" <SvenC@nospam.nospam> schrieb im Newsbeitrag

news:eotxOdrvJHA.4620@TK2MSFTNGP06.phx.gbl...
> Hi Jörg,
>
> > ich suche schon geraume Zeit in NG's und über Google.


> The primary language in this newsgroup is english.
>
> > Leider fehlt mir der Ansatz. Ich möchte per vba die Namen der möglichen
> > Empfänger in einem Exchange Server auslesen und damit ein Dopdown füllen.
> > Ich hab mit recipients "rumgespielt" aber irgendwie bekomme ich das nicht
> > hin. Kann mir jemand einen Ansatz liefern?


> Dim oGAL As Outlook.AddressList
> Set oGAL = Application.GetNameSpace("MAPI").GetGlobalAddressList()

> Dim oAE As Outlook.AddressEntry
> For Each oAE in oGAL.AddressEntries
> Debug.Print oAE.Name & " <" & oAE.Address & ">"
> Next

> > SvenC
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
T Exchange Server - Mail Delay Stamping Exchange Server Administration 0
A Outlook can't remember outlook.com, Exchange password. Using Outlook 3
CWM550 Exchange Plan 1 Using Outlook 3
O Outlook - Switch from Exchange to IMAP Using Outlook 2
S Email was migrated from GoDaddy to Microsoft exchange. We lost IMAP ability Exchange Server Administration 1
C Migrate Exchange to Office 365 Using Outlook 2
A Online Mode to Cached Exchange Mode problem Using Outlook 2
S client lost 3K contacts when office 365 for mac account deleted from company exchange server Using Outlook 5
C How to fix outlook continuing to prompt fo an Exchange password Using Outlook 0
O How to sync (one way) contacts between two Outlook (exchange) accounts? Using Outlook 0
H Preventing the 'email address fetch from Exchange' crashing email reading code Exchange Server Administration 0
B Strange MAPI/Exchange/IMAP behaviour in OL 2016 under10.0.19044.2006 Using Outlook 0
HarvMan Outlook 365 loses "outlook.com" exchange server settings Using Outlook 1
Z New minimum Outlook for Windows version requirements for Microsoft 365/Exchange Online Using Outlook.com accounts in Outlook 27
L Help connecting to hosted exchange server 2016 Using Outlook 0
O Exchange Sync period only (e.g. last years mail) Using Outlook 0
J Connect outlook to office365 exchange _without_ signing in office apps Using Outlook 4
J Importing N2K from a different Exchange Server Using Outlook 1
G Forward email body to other mail list directly from Exchange server Exchange Server Administration 1
D Do I need Exchange Add-In? Using Outlook 6
O Newbie question: how to sync two Outlook -Exchange and IMAP- calendars? Using Outlook 4
I Exchange 2019 - MICROSOFT-CORP-MSN-AS-BLOCK Exchange Server Administration 0
T Outlook 2010 How to Delete “Orphaned” TO DO? ( Not on Exchange Server) Using Outlook 6
M Outlook 2010 Outlook 2010 with O365 / Exchange Online Using Outlook 0
D Microsoft Exchange account - Remote management Using Outlook.com accounts in Outlook 1
C Transfer Autocomplete from Pop to Exchange Using Outlook 3
N Backing Up Exchange Calendar Using Outlook 13
A Ol16 desktopT suddenly can't connect with Exchange Using Outlook.com accounts in Outlook 5
T How can Exchange be configured to sync/push one-way so that the server data can't be affected Exchange Server Administration 0
E How to display "Change Folder" in Change Default Email Delivery Location in Exchange Outlook 2016 Using Outlook 1
J Outlook 2016 Moving IMAP emails to Exchange Using Outlook 1
O Outlook 365 Exchange .ost within Personal Vaul Using Outlook 0
D Outlook 2016 Migrate 'On My Computer' (local storage) Calendar from Mac Outlook to Exchange Account Using Outlook 5
A .restrict results changing after moving to Exchange online Outlook VBA and Custom Forms 0
D Can Exchange Admin Center create a pst for users email/contacts/calendar? Exchange Server Administration 0
S Messages moved / deleted by auto-archive are not synchronized to exchange Exchange Server Administration 8
llama_thumper Setting up forwarders on Exchange server Exchange Server Administration 0
D Importing Outlook Categories from another domain (Exchange 2016/Outlook 2016) Using Outlook 4
M WMI query for Get Disk IO performance in exchange Exchange Server Administration 0
B Outlook 2013/Exchange 2013 - Conf Rooms not fully booking "resolved conflict" meetings Using Outlook 3
D Adding Enterprise Exchange Email Account to Outlook Prevents Sending via Outlook.com Account Using Outlook.com accounts in Outlook 10
O Benefits of Exchange over IMAP and why would I choose Exchange? Using Outlook 2
F Delete/create/reset Exchange mailbox on Outlook.com Using Outlook.com accounts in Outlook 3
A Prevent connection to Public Folders on Exchange? Exchange Server Administration 3
S Add Exchange Account as Secondary to Existing PST? Exchange Server Administration 1
S Adding new Exchange (2016) rule very slow down Microsoft Outlook Exchange Server Administration 0
CWM030 A quick question for Diane about Exchange Exchange Server Administration 2
G How to have domain client use owa server instead of exchange server while connect to network Using Outlook 1
J Outlook 2016 message content does not display - outlook.com; exchange Using Outlook.com accounts in Outlook 9
C Filter/Search emails sent to internal Exchange address only Using Outlook 2

Similar threads

Back
Top