![]() |
|
#2
|
|||
|
|||
|
The code you posted shows nothing about "omitting" tables.
If you want to remove "Table" captions and those captions stand alone in its parent paragraphs, you can use: Code:
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
Dim oFld As Field
For Each oFld In ActiveDocument.Fields
If oFld.Type = wdFieldSequence Then
'See if it is a Table caption sequence field
If InStr(oFld.Code, "Table") <> 0 Then
oFld.Code.Paragraphs(1).Range.Delete
End If
End If
Next oFld
lbl_Exit:
Exit Sub
End Sub
|
| Tags |
| track changes; word |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Question about table caption problem
|
Teaboar | Word | 8 | 08-22-2019 06:25 AM |
Connecting a Table Caption to the table
|
MikeD | Word Tables | 2 | 06-22-2014 10:56 AM |
How to make the Caption and its text have the same width as the table?
|
Jamal NUMAN | Word | 1 | 04-24-2011 06:44 PM |
Caption and Table of Figures issue
|
reece22345 | Word | 3 | 04-15-2011 12:18 AM |
| Spacing between table and caption | EtienneOBrien | Word Tables | 0 | 12-27-2008 01:58 AM |