2 automation problems

Joined
Sep 26, 2007
Messages
1
Reaction score
0
creating a macro in outlook 2007, and get the following 2 problems:

1.
What i do is:
Hit reply on an item in my inbox.
Write the reply message, and instead of hitting "send", i run my macro.
In the macro, i need some info about the mail that i am replying to. (more specifically, i want to save any documents that was attached to the mail.) How can i get a handle to the mail i replied to?

2.
Been trying to get the current windows users FULL name through outlook VBA for use in a automatic signature. Found a way to get the username:

s = Environ$("Username")
Getting the full name doesn't seem to be as easy. All posts i read refer to the system.directoryservices.dll. When i try to add a reference to it, it just sais "Cannot add a reference to the specified file".

Here's the post i read:
http://forums.microsoft.com/MSDN/Sho...02135&SiteID=1
Can anyone help me with one of these issues?
 
Back
Top