![]() |
|
#2
|
||||
|
||||
|
Try:
Code:
Sub Demo()
Application.ScreenUpdating = False
Dim Shp As Shape, Rng As Range
With ActiveDocument
For Each Shp In .Shapes
With Shp
If Not .TextFrame Is Nothing Then
If Len(Trim(.TextFrame.TextRange.Text)) > 1 Then
Set Rng = .Anchor
With Rng
.InsertBefore "Textbox start << "
.Collapse wdCollapseEnd
.InsertAfter " >> Textbox end"
.Collapse wdCollapseStart
End With
Rng.FormattedText = .TextFrame.TextRange.FormattedText
End If
.Delete
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 |
| What are the minimum margins most printers can handle? | 20GT | Word | 3 | 11-08-2014 10:40 PM |
Display result in textbox based on the input of another textbox
|
scarymovie | Word VBA | 5 | 05-16-2012 07:05 PM |
Shapes don't have green handle
|
rdy4trvl | Drawing and Graphics | 4 | 05-15-2012 09:53 PM |
How does Powerpoint handle resolution of images?
|
noni | PowerPoint | 2 | 08-09-2010 03:32 PM |
| How to handle resources that have Bid on project | rrmccabe | Project | 0 | 03-21-2010 12:39 PM |