#1   Report Post  
Posted to microsoft.public.word.docmanagement
John9210 John9210 is offline
external usenet poster
 
Posts: 41
Default Keyboard shortcut

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?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Keyboard shortcut

On Tue, 27 Jan 2009 12:50:18 -0800, john9210
wrote:

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

--
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.
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard shortcut Silver Fox Microsoft Word Help 2 December 10th 07 08:20 PM
keyboard shortcut Basil Brush Microsoft Word Help 1 May 4th 07 09:32 PM
Keyboard shortcut borloff Microsoft Word Help 1 October 27th 05 07:45 PM
Keyboard Shortcut abs Microsoft Word Help 3 July 6th 05 11:49 PM
Keyboard shortcut PingelskiK Microsoft Word Help 5 June 27th 05 09:58 PM


All times are GMT +1. The time now is 03:40 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"