View Single Post
 
Old 08-15-2013, 03:40 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Windows 7 64bit Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 4,011
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

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
Reply With Quote