![]() |
|
#4
|
||||
|
||||
|
Hi b0x4it,
Yes, it can be done with vba. Try: Code:
Sub Demo()
Application.ScreenUpdating = False
Dim i As Long, Rng As Range
With ActiveDocument
Set Rng = .Paragraphs.Last.Range
With Rng
If Len(.Text) > 1 Then
.InsertAfter vbCr
.Collapse wdCollapseEnd
End If
End With
For i = .Tables.Count To 1 Step -1
With .Tables(i).Range
If .InlineShapes.Count > 0 Then
.Cut
With Rng
.Paste
.Paragraphs.First.Previous.Range.Characters.Last.InsertBefore vbCr
.Start = .Paragraphs.First.Previous.Range.Start
.Collapse wdCollapseStart
End With
End If
End With
Next
End With
Application.ScreenUpdating = True
End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Moving comments
|
sollc | Excel | 3 | 04-13-2011 04:43 AM |
| moving from one computer to the next | Billmce | Office | 0 | 04-26-2010 03:41 PM |
Moving formula range multiple cells when moving sum over one cell
|
FraserKitchell | Excel | 4 | 02-26-2010 10:38 AM |
| Moving from Vista to Windows 7 | zyzzyva57 | Office | 0 | 12-18-2009 04:41 PM |
| Moving Items | windsurfer | Outlook | 0 | 12-06-2005 06:36 AM |