View Single Post
 
Old 08-06-2024, 08:41 AM
vivka vivka is offline Windows 7 64bit Office 2016
Expert
 
Join Date: Jul 2023
Posts: 302
vivka is on a distinguished road
Default

Hi, Shelley Lou! You can change your code to
Code:
.text = "^13[!^13]@[^t ]"
But this may bring about new problems because spaces are everywhere in the text including between numbers in multi-level lists (e.g.: 2 2.2tabfolllowing a written...). As a remedy, I would replace all digit-letter spaces with tabs and then run the original code. Or, please, post a new (more complex, including as many numbering cases as possible) sample of your doc to try different code changes on.
Reply With Quote