View Single Post
 
Old 10-27-2022, 06:47 AM
Chris.Bowman Chris.Bowman is offline Windows 11 Office 2016
Novice
 
Join Date: Oct 2022
Posts: 1
Chris.Bowman is on a distinguished road
Default Word macro - Super/sub-script and 2 spaces to 1 space

I'm trying to write a macro in Word that will make 2 spaces into 1 space after a punctuation and formatting section, like this, where the 23-29 will superscripted and be links to references at the end of the document.

dultricies.23-29 Purus

I would like the macro to identify the two spaces after the superscript and make it 1 space.

Thanks,

Chris

I tried creating the macro to identify 2 spaces and make it 1 space - that worked. But when I tried to create a macro using wildcard characters or special formatting (superscript), I expected Word to locate the instance and make it one space, but it did not.
Reply With Quote