Word 2013 Convert All Quick Parts Fields To Text With VBA

Posted on 2015-02-02
Medium Priority
Last Modified: 2016-02-10

In Word 2013, I would like to convert all my Quick Part Fields to Text with with VBA.  Could someone please help me with this.

Question by:tgtg7
  • 2
  • 2
LVL 77

Accepted Solution

GrahamSkan earned 2000 total points
ID: 40584732
I think that you just mean 'Fields'. One way of inserting Word document fields is via the Quick Parts dropdown. I don't think that there is a particular Quick Parts Field.
So, you can use:
Sub FixFields()
    Dim fld As Field
    For Each fld In ActiveDocument.Fields
    Next fld
End Sub

Open in new window


Author Comment

ID: 40594385
Thanks, That is exactly what I needed!

Author Comment

ID: 40594614
I've requested that this question be closed as follows:

Accepted answer: 0 points for tgtg7's comment #a40594385

for the following reason:

Thanks, this is exactly what I needed.
LVL 77

Expert Comment

ID: 40594615
From the last comment, I don't think that tgtg7 meant to close it that way

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question