Keyboard shortcut

J

john9210

I'm writing a macro for Word 2007 and need to move from the cursor position
to the beginning of a paragraph. Is there a keyboard short to do this? If
not, how can I do this in a macro?
 
J

Jay Freedman

I'm writing a macro for Word 2007 and need to move from the cursor position
to the beginning of a paragraph. Is there a keyboard short to do this? If
not, how can I do this in a macro?

Assuming you mean "to the beginning of the paragraph containing the cursor" and
not just any paragraph, the Ctrl+UpArrow shortcut will do it.

The result in code is

Selection.MoveUp Unit:=wdParagraph, Count:=1
 

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