View Single Post
 
Old 10-16-2023, 05:09 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

The absence of anything is the reason for the error. If a group of things has only one item then you encounter an error if you are asked to go to the item before the first item.

I don't understand the point of the effort after the code provided in #22 of this thread. What are you trying to achieve that that macro didn't do?

The code you posted in #27 seeks to remove one of the spaces at the end of a paragraph but would need to be run multiple times if there was more than one space. And you would still need to avoid the error when the paragraph is empty.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote