C
Cameron Powell
I have looked everywhere for an answer to this, but I can't seem to come up
with anything. I have a macro that will pull the mailing address of a person
over into a blank TextBox on a UserForm. The problem being I dont know what
command to use to get the Middle Initial and Suffix...
Ex. strAddress = Application.GetAddress(strName, "<PR_DISPLAY_NAME_PREFIX>
<PR_GIVEN_NAME> <PR_SURNAME>" & vbCr & "<PR_TITLE>" & vbCr &
"<PR_COMPANY_NAME>" & vbCr & "<PR_STREET_ADDRESS>" & vbCr & "<PR_LOCALITY>,
<PR_STATE_OR_PROVINCE>" & " " & "<PR_POSTAL_CODE>", , 2)
Result:
Mr. John Doe <-- Should be Mr. John E. Doe, Sr.
President
JD Enterprises
111 SW Somewhere
Nowheresville, MI 98765
with anything. I have a macro that will pull the mailing address of a person
over into a blank TextBox on a UserForm. The problem being I dont know what
command to use to get the Middle Initial and Suffix...
Ex. strAddress = Application.GetAddress(strName, "<PR_DISPLAY_NAME_PREFIX>
<PR_GIVEN_NAME> <PR_SURNAME>" & vbCr & "<PR_TITLE>" & vbCr &
"<PR_COMPANY_NAME>" & vbCr & "<PR_STREET_ADDRESS>" & vbCr & "<PR_LOCALITY>,
<PR_STATE_OR_PROVINCE>" & " " & "<PR_POSTAL_CODE>", , 2)
Result:
Mr. John Doe <-- Should be Mr. John E. Doe, Sr.
President
JD Enterprises
111 SW Somewhere
Nowheresville, MI 98765