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

Importing Outlook Alias info into an excel 2003 macro



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 30th 06, 02:23 PM posted to microsoft.public.outlook.program_vba
fidgitthedigit
external usenet poster
 
Posts: 2
Default Importing Outlook Alias info into an excel 2003 macro

I currently have about 200 users fill in online reports by having them click
an Excel 2003 attachment in an e-mail or calendar entry. This executes a
macro that, among other steps, asks for their employee number which is
actually their Alias in their Outlook properties, as each user has their
individual report file different from all the other users (i.e. everyone in
this organization has two e-mail addresses: the usual and
the Alias:
)

Ideally I would like to have the Excel Macro obtain that Alias info
automatically without the user having to enter it as this will speed up the
process and avoid 'subscript out of range' errors or postings to the
incorrect report.

Can this be done?
--
fidgitthedigit
Ads
  #2  
Old May 31st 06, 05:30 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Importing Outlook Alias info into an excel 2003 macro

Am Tue, 30 May 2006 06:23:01 -0700 schrieb fidgitthedigit:

Yes, I think it can be done. What is the "Alias in their Outlook
properties"?

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


I currently have about 200 users fill in online reports by having them

click
an Excel 2003 attachment in an e-mail or calendar entry. This executes a
macro that, among other steps, asks for their employee number which is
actually their Alias in their Outlook properties, as each user has their
individual report file different from all the other users (i.e. everyone

in
this organization has two e-mail addresses: the usual and
the Alias:
)

Ideally I would like to have the Excel Macro obtain that Alias info
automatically without the user having to enter it as this will speed up

the
process and avoid 'subscript out of range' errors or postings to the
incorrect report.

Can this be done?

  #3  
Old May 31st 06, 02:34 PM posted to microsoft.public.outlook.program_vba
fidgitthedigit
external usenet poster
 
Posts: 2
Default Importing Outlook Alias info into an excel 2003 macro

The Alias is found under "Outlook Properties" in the General tab. In our
organization, this is always a six-character item either 6 digits or the
letter E followed by five characters.
--
fidgitthedigit


"Michael Bauer" wrote:

Am Tue, 30 May 2006 06:23:01 -0700 schrieb fidgitthedigit:

Yes, I think it can be done. What is the "Alias in their Outlook
properties"?

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


I currently have about 200 users fill in online reports by having them

click
an Excel 2003 attachment in an e-mail or calendar entry. This executes a
macro that, among other steps, asks for their employee number which is
actually their Alias in their Outlook properties, as each user has their
individual report file different from all the other users (i.e. everyone

in
this organization has two e-mail addresses: the usual and
the Alias:
)

Ideally I would like to have the Excel Macro obtain that Alias info
automatically without the user having to enter it as this will speed up

the
process and avoid 'subscript out of range' errors or postings to the
incorrect report.

Can this be done?


  #4  
Old May 31st 06, 03:42 PM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Importing Outlook Alias info into an excel 2003 macro

Am Wed, 31 May 2006 06:34:02 -0700 schrieb fidgitthedigit:

Sorry, I don´t know what field you´re talking about.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


The Alias is found under "Outlook Properties" in the General tab. In our
organization, this is always a six-character item either 6 digits or the
letter E followed by five characters.

  #5  
Old May 31st 06, 04:22 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Importing Outlook Alias info into an excel 2003 macro

It sounds like you're talking about reading an Exchange GAL, is that
correct?

You would have to get that as an AddressList, get its AddressEntries
collection and then use MAPI properties to extract that since it's not
exposed directly in the Outlook object model. CDO 1.21 or Extended MAPI or
Redemption (www.dimastr.com/redemption) could be used.

An alternative would be to extract the alias from the Exchange DN that you
could get from the Address property of the AddressEntry object. In untrusted
code that would fire the security prompts however unless you used something
like Redemption code.

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


"fidgitthedigit" wrote in message
...
The Alias is found under "Outlook Properties" in the General tab. In our
organization, this is always a six-character item either 6 digits or the
letter E followed by five characters.
--
fidgitthedigit


 




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
Importing Outlook Alias into an Excel 2003 macro fidgitthedigit Outlook - General Queries 2 May 30th 06 02:11 PM
Excel macro to create e-mail in Outlook Web Access fitful_thought Outlook - General Queries 0 April 15th 06 10:23 AM
Outlook 2003: While importing contacts from Excel 2003, ISAM error Juzar Outlook - Using Contacts 1 April 10th 06 10:20 PM
Outlook 2003 when importing from Excel Renae Outlook - Using Contacts 4 March 4th 06 03:41 AM
Importing from Excel 2003 to Outlook 2003 Andrew H Outlook - Calandaring 0 February 15th 06 10:30 AM


All times are GMT +1. The time now is 04:09 AM.


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.