![]() |
|
|
|
#1
|
||||
|
||||
|
Quote:
• The lack of indenting is because that's how the last paragraph (the one where the code starts inserting) is formatted that way. If you format the last paragraph with the required attributes, anything inserted by the code will retain that format. • The lack of a space between paragraphs is because you haven't specified any before/after spacing as part of the paragraph format. You could work around that by adding another '& vbCr' to 'wdTgtDoc.Range.InsertAfter .FormFields(4).Result & vbCr', but that really isn't how it should be done.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#2
|
|||
|
|||
|
I've run into a bit of a quandary!
This code works well and does exactly what I requested, but I have one doc form that has two formfields that need to be extract to the target document, It pulls the formfield 4 on all documents, but I can't get it to pull formfield 1 and formfield 4 on the first document. If it matters, the formfields for the source document that has two formfields are named MyField, and MyField1. It's only on one document. |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Inserting spreadsheet data rows as form fields in a document | b3nz | Word | 3 | 03-31-2013 07:47 PM |
| Form Fields in Word | jwm1346 | Word | 1 | 04-17-2012 07:02 PM |
Issues with Microsoft Word Form Fields
|
hbforsyth | Word | 9 | 11-14-2011 04:26 PM |
| Calculating Form Fields in Microsoft Word | wubba80 | Word | 1 | 06-25-2010 12:42 AM |
| Form fields in Word messed up | mba | Word VBA | 0 | 02-07-2010 09:54 PM |