Keyboard shortcut

  • Thread starter Thread starter john9210
  • Start date Start date
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?
 
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
 
Back
Top