Thanks very much Paul - that's really good of you.
For info, when I run the above macro, I receive a "Compile error: Loop without Do" - so I'll try adjusting it.
Hi Paul,
Thanks very much for your reply - that's really appreciated.
The document is basically a form that I want to email to individual people in .doc (or .docx) format. At my end, the document is linked to an Excel spreadsheet, which populates various text boxes on the form (e.g. it...
Hi all,
The following macro unlinks the fields in a document, and then deletes itself:
--------------------------
Sub UnlinkFields()
Dim oRange As Word.Range
With ActiveDocument
For Each oRange In .StoryRanges
Do
oRange.Fields.Unlink
Set oRange = oRange.NextStoryRange
Loop Until oRange Is...
Hi all,
The following macro unlinks the fields in a document, and then deletes itself:
--------------------------
Sub UnlinkFields()
Dim oRange As Word.Range
With ActiveDocument
For Each oRange In .StoryRanges
Do
oRange.Fields.Unlink
Set oRange =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.