P
Pam
I am using Word 2003 and I have a word document with 17 sections, and I
only want to delete section 3 through section 16, but the code below is
not working. I think it is the object I put after the section number.
Can anyone help?
Dim Range1 As Range
Set Range1 =
ActiveDocument.Range(Start:=ActiveDocument.Sections(2).Start,
End:=ActiveDocument.Sections(15).End)
With Range1
.Select
.Delete
EndWith
Thanks
Pam
only want to delete section 3 through section 16, but the code below is
not working. I think it is the object I put after the section number.
Can anyone help?
Dim Range1 As Range
Set Range1 =
ActiveDocument.Range(Start:=ActiveDocument.Sections(2).Start,
End:=ActiveDocument.Sections(15).End)
With Range1
.Select
.Delete
EndWith
Thanks
Pam