View Single Post
 
Old 02-08-2021, 08:33 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by mbcohn View Post
I see that the code includes a textbox announcing the end of the process, and that doesn't come up.
That's to be expected if the macro is crashing.

As for the crashes themselves, try replacing all instances of:
If Not Shp.TextFrame Is Nothing Then
with:
If Shp.Type = msoTextBox Then
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote