View Single Post
 
Old 10-04-2013, 08:13 AM
slaycock slaycock is offline Windows 7 64bit Office 2013
Expert
 
Join Date: Sep 2013
Posts: 255
slaycock is on a distinguished road
Default

Why are you trying to do this? Surely it would be easier to do a search and replace on the document e.g. .^p for . ^p.

If you want to do it programatically then your code will work if you change to count:= -1. So if you are in the no space case in your thumbnail, the count:= -1 will select to the left of the cursor. if you use count:=1 then you select to the right of the cursor.
Reply With Quote