Hello! Do you have a question about Windows Server or Windows Client for IT Pros?
Please note that both categories together with questions have been moved to Microsoft Q&A. This change will help us provide a more streamlined and efficient experience for all your questions and discussions.
Hello! Do you have a question about Windows Server or Windows Client for IT Pros?
Please note that both categories together with questions have been moved to Microsoft Q&A. This change will help us provide a more streamlined and efficient experience for all your questions and discussions.
Word VBA - Move cursor to start of current paragraph but don't move it if it is already there
I want to move the cursor to the start of the current paragraph. If I do the normal
Selection.MoveUp Unit:=wdParagraph, count:=1
the cursor goes to the start of the current paragraph, unless it is already there, in which case it moves to the beginning of the previous paragraph. How do I prevent it from doing that, ie don't move it if it's already at the start of the paragraph.