Solved

Word 2013 Convert All Quick Parts Fields To Text With VBA

Posted on 2015-02-02
4
296 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
Comment Utility
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
Comment Utility
Thanks, That is exactly what I needed!
0
 

Author Comment

by:tgtg7
Comment Utility
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
Comment Utility
From the last comment, I don't think that tgtg7 meant to close it that way
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now