![]() |
#6
|
|||
|
|||
![]()
Never considered the image that quip might conjure
![]() This might work: Code:
Sub ScratchMacro() 'A basic Word macro coded by Greg Maxey Dim oRng As Word.Range Dim oRngBefore As Word.Range Dim i As Long Dim bMove As Boolean Set oRng = Selection.Range.Duplicate Set oRngBefore = oRng.Duplicate oRngBefore.Collapse wdCollapseStart bMove = True For i = 1 To oRng.Characters.Count oRng.Characters(i).Copy oRngBefore.Paste If bMove Then oRng.MoveStart wdCharacter, 1 bMove = False End If oRngBefore.Collapse wdCollapseStart Next oRng.Delete End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
omahadivision | Excel Programming | 12 | 11-23-2013 12:10 PM |
![]() |
VBNation | Word VBA | 2 | 02-08-2013 07:14 AM |
![]() |
Paulsh | Word VBA | 1 | 11-01-2011 03:15 AM |
![]() |
Dom37 | Word VBA | 2 | 10-31-2011 03:28 AM |
![]() |
Eduardo | Word VBA | 5 | 06-15-2009 01:55 AM |