D
Diamonds_Mine
I'm using the following code in Word 2003 to set the Mailing Address under
Tools, Options, User Information.
Application.UserAddress = System.PrivateProfileString("C:\Data\Office.ini", _
"Firm", "Name")
The code works properly using the *.ini file, but I need to use at least two
other key as string values including "Name". I also have "AddressLine1",
"AddressLine2" in the *.ini file that I would like to write to the Mailing
Address field. What is the syntax to add the other values so the result in
the Mailing Address field will look similar to this:
Acme, Inc.
1223 Magnolia Lane
Los Angeles, CA 90210
Tools, Options, User Information.
Application.UserAddress = System.PrivateProfileString("C:\Data\Office.ini", _
"Firm", "Name")
The code works properly using the *.ini file, but I need to use at least two
other key as string values including "Name". I also have "AddressLine1",
"AddressLine2" in the *.ini file that I would like to write to the Mailing
Address field. What is the syntax to add the other values so the result in
the Mailing Address field will look similar to this:
Acme, Inc.
1223 Magnolia Lane
Los Angeles, CA 90210