G
Guest
Hi. This is probably a simple solution, but for the life of me, I can't
figure it out.
I have a macro that takes values from a completed outlook form and places
this into an excel file. This is to simplify the data-entry required. I
simply open the email, run the macro, and go to the next. It is working for
both outlook properties (SentOn) and for my own userdefined properties within
the form (Question a).
Everything works well, but I am trying to grab the officelocation property
value for the person who sent the email/form to me. The problem is, I am
unsure of how to do it. Below is some sample code (that is working) that
puts the SentOn date and the result of Question a into my excel file.
All I want to do now is to put the contact's officelocation into the same
excel file.
ApExcel.Cells(i%, 2).value = myinspector.CurrentItem.SentOn
ApExcel.Cells(i%, 5).value =
myinspector.CurrentItem.UserProperties("Question a")
Thanks!
Chris
figure it out.
I have a macro that takes values from a completed outlook form and places
this into an excel file. This is to simplify the data-entry required. I
simply open the email, run the macro, and go to the next. It is working for
both outlook properties (SentOn) and for my own userdefined properties within
the form (Question a).
Everything works well, but I am trying to grab the officelocation property
value for the person who sent the email/form to me. The problem is, I am
unsure of how to do it. Below is some sample code (that is working) that
puts the SentOn date and the result of Question a into my excel file.
All I want to do now is to put the contact's officelocation into the same
excel file.
ApExcel.Cells(i%, 2).value = myinspector.CurrentItem.SentOn
ApExcel.Cells(i%, 5).value =
myinspector.CurrentItem.UserProperties("Question a")
Thanks!
Chris