Link to home
Start Free TrialLog in
Avatar of SAbboushi
SAbboushiFlag for United States of America

asked on

vba Reference to original message when reply in Outlook 2007

Hi-

Wondering how I can reference the properties of an email that I am replying to in VBA?  e.g. after clicking on reply, how do I reference e.g. the EntryID of the message that I am replying to?  Is there some parent/child relationship or some other means that links the 2 mailitems?

Example scenario: I click reply and want to append the EntryID of the message I am replying to to the subject line of the reply?

Or during what event can I save the EventID to a string from the mailitem that is current when the reply button is clicked?

Hoping someone has got the answers for me!

Thanks-
ASKER CERTIFIED SOLUTION
Avatar of Chris Bottomley
Chris Bottomley
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
within the constraints identified ... i.e. using the inspector object as previously accepted in another question then the post made meets the request.  Ultimately of course it is up to the author to indicate any problems ... but the lack of post implies the post meets the requirement ... since I believe from my tests that the post is correct

Chris
Avatar of SAbboushi

ASKER

Chris - my apologies for the hassle -- I dropped the ball on this one.

I have not had the time to test this out.  Your track record with me gives me confidence that it will work as you suggest ; )