Yes, replace "SubSub" with "Sub" only.
Note that if you are letting Word create a "blank" macro, it adds "Sub <NameOfMacro>" and "End Sub" for you, and when you paste code that already includes these commands, you get duplicates.
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
|