I'm using this code in an attempt to remove leading spaces in my text :
Please Login or Register to view this content.
Unfortunately it's not working. The leading spaces are still there.
If I take these actions manually (select whole text - centre align - left align - go to top of document) then it works fine and removes the leading spaces , but no joy when run in my macro.
I'm puzzled. If anyone can help out , I'd be grateful.
Bookmarks