Is there any code to go to the beginning of the current paragraph. I have
tried:
Selection.MoveUp Unit:=wdParagraph, Count:=1
This works, except if you are alreday at the beginning of the paragraph it
goes to the previous paragraph. Is there any code for this or would I have
to put some sort of if statement to determine whether the cursor was already
at the beginning of the paragraph?
thanks,
Try this instead:
Selection.Paragraphs(1).Range.Characters(1).Select
Selection.Collapse wdCollapseStart
>Is there any code to go to the beginning of the current paragraph. I have
>tried:
[quoted text clipped - 7 lines]
>
>thanks,
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
Jules - 07 Dec 2007 04:34 GMT
Thanks Jay, works perfectly.
> Try this instead:
>
[quoted text clipped - 18 lines]
> Microsoft Word MVP FAQ: http://word.mvps.org
> Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.