Application.UserAddress property (Word)

Returns or sets the user's mailing address. Read/write String.

Syntax

expression. UserAddress

expression An expression that returns an Application object.

Remarks

The mailing address is used as a return address on envelopes.

Example

This example sets the user's return address. The Chr function is used to return a line feed character.

Application.UserAddress = "4200 Third Street NE" & Chr(10) _ 
 & "Anytown, WA 98999"

This example returns the address found in the Mailing address box on the User Information tab in the Options dialog box (Tools menu).

Msgbox Application.UserAddress

See also

Application Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.