Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2014, 11:47 AM
New Daddy New Daddy is offline A macro that moves the current paragraph up or down? Windows Vista A macro that moves the current paragraph up or down? Office 2003
Advanced Beginner
A macro that moves the current paragraph up or down?
 
Join Date: Jan 2012
Posts: 90
New Daddy is on a distinguished road
Default A macro that moves the current paragraph up or down?

Maybe it's my habit, but I happen to fall into a situation where I need to push a paragraph up or down.

There are Word commands OutlineMoveUp and OutlineMoveDown, which work as their names suggest in the Outline view. But in a non-Outline view, these commands send the current paragraph to weird places instead of moving it single paragraph up or down.



Can someone show me what a macro that moves the current paragraph up or down look like? Than I will map them to Alt+Shift+up/down arrow keys.
Reply With Quote
  #2  
Old 04-13-2014, 12:52 PM
macropod's Avatar
macropod macropod is offline A macro that moves the current paragraph up or down? Windows 7 32bit A macro that moves the current paragraph up or down? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Why not just select the paragraph (e.g. triple-click), then drag it to where you want? A macro couldn't do it any faster for moving more than one paragraph (since it can't be programmed to know what you want without input boxes and the like), apart from which, you'd need two macros - one for moving up and another for moving down.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 04-13-2014, 02:25 PM
macropod's Avatar
macropod macropod is offline A macro that moves the current paragraph up or down? Windows 7 32bit A macro that moves the current paragraph up or down? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Cross-posted at: http://www.eileenslounge.com/posting...y&f=26&t=16158
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184

PS: I note the cross-posting issue has been drawn to your attention previously (https://www.msofficeforums.com/word-...footnotes.html). Please don't make a habit of not providing links to your cross-posts, or you won't be welcome here.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
A macro that moves the current paragraph up or down? macro, data import from the ONLY text file in current folder ue418 Excel Programming 5 10-28-2017 12:52 PM
A macro that moves the current paragraph up or down? Need a Macro that Combines Every 5 sentences into a paragraph jgarland Word 22 01-11-2012 11:19 AM
A macro that moves the current paragraph up or down? How to call current PC date and/or current PC year KIM SOLIS Excel 2 11-04-2011 06:09 PM
A macro that moves the current paragraph up or down? Macro for moving one cell down from current position Johnny thunder Word VBA 3 04-07-2011 04:44 PM
A macro that moves the current paragraph up or down? Auto insert current month's name and current year Styler001 Word 4 01-25-2010 06:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:14 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft