![]() |
|
|
|
#1
|
|||
|
|||
|
Thank you Paul. I want to find the titles of each field. I found a work around with a VB code. Between VB - Quick Watch and Text-to-column on excel, i was able to do it.
Code:
Sub CountFields()
Dim iCnt As Integer
Dim f As Field
iCnt = ActiveDocument.Fields.Count
Dim CCtrl As ContentControl
Dim alltitles As String
For Each CCtrl In ActiveDocument.ContentControls
alltitles = CCtrl.Title & ";" & alltitles
Next
MsgBox alltitles
End Sub
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Finding field names in a Word-Form created by content control
|
shammi_raj | Word | 1 | 03-10-2016 02:37 AM |
Adding auto text to end of content control field
|
ksigcajun | Word VBA | 4 | 10-13-2014 05:37 AM |
Allow Multiple Content Control same cell of form table
|
DeborahBartlett | Word | 1 | 01-04-2014 11:06 AM |
MS WORD 2007 - Content Control versus Text Form Field question
|
chamdan | Word VBA | 2 | 11-12-2013 09:51 PM |
Content control titles
|
jillapass | Word VBA | 3 | 05-29-2012 06:11 AM |