View Single Post
 
Old 02-28-2024, 07:57 AM
Shelley Lou Shelley Lou is offline Windows 10 Office 2016
Expert
 
Join Date: Dec 2020
Posts: 259
Shelley Lou is on a distinguished road
Default VBA MoveStartUntil cSet query

Vivka, you are a superstar, my mistake was trying to put Chr(160) within the quotes.

Within the same code I am working on, if the code below looks for the last character at the end of the paragraph and then inserts something after it, what do I need to change with the line below to look for the character before the last character at the end of a paragraph. I've tried adding ,-1 but that is not working.
Code:
.Words.Last.Previous.Previous.Words(1)
Reply With Quote