View Single Post
 
Old 03-30-2022, 02:40 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

Assuming you're having problems with the 'AcronymLister' sub:
• comment out 'Application.ScreenUpdating = False'
• insert:
Code:
.Select
Msgbox .Text
after 'Do While .Find.Found = True'
That will show you what has been matched on each iteration and should allow you to identify where in the document the code hangs.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote