Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Word 2013 Convert All Quick Parts Fields To Text With VBA

Posted on 2015-02-02
4
315 Views
Last Modified: 2016-02-10
Hi,

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.

Thanks,
Gary
0
Comment
Question by:tgtg7
  • 2
  • 2
4 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 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
        fld.Unlink
    Next fld
End Sub

Open in new window

0
 

Author Comment

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

Author Comment

by:tgtg7
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.
0
 
LVL 76

Expert Comment

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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This video walks the viewer through the process of creating an MLA formatted document, as well as a bibliography with citations.
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.

809 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