View Single Post
  #1  
Old October 14th 08, 05:54 PM posted to microsoft.public.outlook.program_addins
J.R. Winder
external usenet poster
 
Posts: 4
Default Business Address: Format

My dev group has developed and addin for Outlook 07 that enables 'Contact'
fields to be merged into MS Word 07 templates. The addin works fine however
the second line within the 'Business Address' field is including a leading
space when merging the field data into the Word template.

This is an example of how the fields are setup in the Template:
FullName
CompanyName
BusinessAddressStreet
BusinessAddressCity, BusinessAddressState BusinessAddressPostalCode

....and this is an example of how the data looks once the fields are merged
into the Word doc:
John Doe
John Does Landscaping
55 Main Street
Unit 4
Portsmouth, NH 03801

To me the logical cause to the leading space is due to there being two
'street' address lines. However the available fields within Outlook
Contact's does not include an BusinessAddressStreet1 and/or
BusinessAddressStreet2

Any thoughts on how to eliminate the leading space?

Thanks
JR

Ads