![]() |
|
#2
|
||||
|
||||
|
How was this series of tables created? If you want to remove the spaces between the tables, run a macro with the following code:
Code:
Dim oPara As Paragraph
For Each oPara In ActiveDocument.Range.Paragraphs
If Not oPara.Range.Information(wdWithInTable) Then
If Len(oPara.Range) = 1 Then
oPara.Range.Style = "Normal"
oPara.Range.Delete
End If
End If
Next oPara
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
| Tags |
| macros, vba code, word 2010; |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Repeat header of table within another table
|
Dart82 | Word Tables | 3 | 04-11-2016 04:15 AM |
Repeat header of a table, what about captions ?
|
Yankel | Word Tables | 3 | 08-01-2014 05:18 PM |
| Join cells together separated by ; when some are blank | leemoreau | Excel | 3 | 11-03-2013 11:22 AM |
| Format as table-> with 2 row header? | 56_kruiser | Excel | 3 | 11-13-2012 11:32 PM |
| Help Autoformating a Table w 2 header rows | Julie713 | Word Tables | 0 | 03-01-2010 08:15 AM |