Click or drag to resize

IContactFormattedAddress Property

returns just the address as a multi-line string according to the country's address layout Returns the name and mailing address of the contact formatted according to the national rules. Useful when generating address labels

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
string FormattedAddress { get; }

Property Value

Type: String
String – Contact name and mailing address
Examples

FormattedAddress

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then        
    MsgBox "Current contact formatted address is: " & vbCrLf & objSO.CurrentContact.FormattedAddress, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect"
end if
Set objSO = Nothing

See Also