PDA

View Full Version : Solved: How to move Selection?



hylw
07-03-2005, 08:04 PM
Hi, all :hi:

I have select a paragraph using the following code

wrdApp.Selection.EndOf unit:=wdParagraph, Extend:=wdExtend

How can i move my selection/cursor back to the beginning of that paragraph?:doh:
Anyone know, please advise. Thanks a lot.

MOS MASTER
07-03-2005, 08:37 PM
Hi, all :hi:

I have select a paragraph using the following code

wrdApp.Selection.EndOf unit:=wdParagraph, Extend:=wdExtend

How can i move my selection/cursor back to the beginning of that paragraph?:doh:
Anyone know, please advise. Thanks a lot.
Hi, :yes

Try:
wrdApp.Selection.StartOf Unit:=wdParagraph, Extend:=wdMove


:whistle:

hylw
07-03-2005, 09:17 PM
Hi,

Thank you, MOS MASTER. :thumb

MOS MASTER
07-03-2005, 09:21 PM
Hi,

Thank you, MOS MASTER. :thumb
You're welcome! :beerchug: