Working with ranges

Set range to the first word in the active document
Set Range1 = ActiveDocument.Words(1)

Assigning one range to another, so that an action on one will affect the other

Set Range2 = Range1

Duplicating a range, but changing one won't affect the other:

Set Range2 = Range1.Duplicate


Comments

Popular posts from this blog

Find and replace

Menus and toolbars

Formatting