A family of Microsoft word processing software products for creating web, email, and print documents.
I think this will do the trick. I try to stay away from using selections, but sometimes with text boxes that's the simplest way:
Sub TextboxRemoval()
Dim shp As Shape, shpRange As ShapeRange
Dim sString As String
Dim shpArray() As Variant
x = 1
For Each shp In ActiveDocument.Shapes
If shp.Type = msoTextBox Then
sString = Left(shp.TextFrame.TextRange.Text, shp.TextFrame.TextRange.Characters.Count - 1)
If Len(sString) > 0 Then
shp.Select
Selection.Collapse wdCollapseStart
Selection.InsertBefore sString
ReDim Preserve shpArray(1 To x)
shpArray(x) = shp.Name
x = x + 1
End If
End If
Next shp
Set shpRange = ActiveDocument.Shapes.Range(shpArray)
shpRange.Delete
End Sub