Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word template with multi-line form fields

Status
Not open for further replies.

Bawer

Technical User
May 25, 2004
2
US
I have a word template, where I am trying read the values of the form fields onto a master document. This will allow me to automate consolidating a form that has different parts completed by different parties.

The problem comes when a field is completed with line breaks (entered by the form user with the "enter" key). If I try to read or copy this form field value into the master document, instead of keeping the line breaks, it enters a little vertical rectangluar symbol instead.

Is there any way to keep the line breaks in the text that is copied into the master form?

I have tried reading it into a variable or setting one field equal to the other. Both result in the symbol.

I can get copy and paste to work, but it keeps the paragraph formatting from the previous line, and I don't want that.

If anybody has solved this dilemma before, I would love some insight.

Thanks,
B
 
Solved it myself.

I can use the copy/paste function. First, I just had to have the macro unprotect the form, then protect it again after finishing aggregation of info.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top