This macro will delete the entire paragraph (note: Word doesn't know much
about "lines", it's geared toward paragraphs, but in this case I suspect
they're the same thing) if the form field contains its default text
(whatever that is, whether "Ingredient" or any other text, or five
nonbreaking spaces if the default isn't set).
Sub CleanUp()
Dim ffld As FormField
If ActiveDocument.ProtectionType <> wdNoProtection Then
ActiveDocument.Unprotect
End If
For Each ffld In ActiveDocument.FormFields
With ffld
If .Type = wdFieldFormTextInput Then
If .Result = .TextInput.Default Then
.Range.Paragraphs(1).Range.Delete
End If
End If
End With
Next
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, _
noreset:=True
End Sub

Signature
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
> Hello,
> I have a template that is used to create recipes for upload to a
[quoted text clipped - 9 lines]
> form fields. Anyone have any guidance? Thanks!
> Melinda
Melinda Chase - 14 Sep 2007 19:59 GMT
Thanks Jay!
That was exactly what I needed.
You are correct, I had a paragraph return at the end of each line, so
deleting the paragraph is fine.
Thanks again.
Melinda
> This macro will delete the entire paragraph (note: Word doesn't know much
> about "lines", it's geared toward paragraphs, but in this case I suspect
[quoted text clipped - 36 lines]
>> form fields. Anyone have any guidance? Thanks!
>> Melinda