Select current paragraph

  • Thread starter Robert Mark Bram
  • Start date
R

Robert Mark Bram

Hi All!

I want to write a macro to select the current paragraph and transpose it
with the paragraph before.

My problem is finding the command to select the current paragraph - the same
action that occurs on a triple click.

I began with this:
Selection.MoveUp Unit:=wdParagraph, Count:=1
Selection.MoveDown Unit:=wdParagraph, Count:=1, Extend:=wdExtend
but the above is not correct, since if the cursor happens to be at the
beginning of the current paragraph it ends up selecting the paragraph above.

Any advice would be most appreciated!

Rob
:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top