View Single Post
 
Old 03-16-2023, 04:50 PM
Jrod9190 Jrod9190 is offline Windows 11 Office 2019
Novice
 
Join Date: Jan 2023
Posts: 7
Jrod9190 is on a distinguished road
Talking

Quote:
Originally Posted by gmaxey View Post
I have to agree with Graham regarding your choice of text boxes. But if there is some reason you must use what you have then perhaps:

Code:
Sub ScratchMacro()
Dim oShp As Shape
'A basic Word Macro coded by Gregory K. Maxey
  On Error Resume Next
  For Each oShp In ActiveDocument.Shapes
    oShp.TextFrame.TextRange.Text = ""
  Next oShp
lbl_Exit:
  Exit Sub
End Sub
This code worked like a charm, thanks!
Reply With Quote