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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. CookingFat

    Macro that unlinks the fields in a document, and then deletes itself

    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.
  2. CookingFat

    Macro that unlinks the fields in a document, and then deletes itself

    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...
  3. CookingFat

    Macro that unlinks the fields in a document, and then deletes itself

    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...
  4. CookingFat

    Macro that unlinks the fields in a document, and then deletes itself

    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 =...

Part and Inventory Search

Back
Top