Word Macro to Duplicate a Line
Tested with Word 2002 (XP). Duplicates the paragraph in which the cursor currently is by pasting it below. Could be improved, but works OK for me. I would bind this to Ctrl+D
Sub DuplicateLine() ' Macro recorded 4/16/2007 by Lassi A. Liikkanen Selection.Paragraphs(1).Range.Select Selection.Copy Selection.MoveRight Unit:=wdCharacter, Count:=1 Selection.PasteAndFormat (wdPasteDefault) Selection.MoveUp Unit:=wdParagraph, Count:=2 End Sub
Related content:
How Windows 7 restore really works, 2014/04/26
Instructions for creating bootable Windows 7 recovery environment on a USB flash device, 2014/03/30
Disabling background software installations and upgrades in Windows, 2013/03/03
No comments for this page:
Add comment | Show all comments