Home |
Search |
Today's Posts |
#2
![]() |
|||
|
|||
![]()
Dim myrange As Range
Set myrange = Selection.Sections(1).Range myrange.Start = myrange.Start - 1 myrange.Collapse wdCollapseStart myrange.Start = myrange.Sections(1).Range.Start myrange.End = myrange.End + 1 myrange.Delete -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "better programmer wannabe" wrote in message ... Can someone show me the VBA syntax to find the previous section from the current cursor position and deleting it. |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
section breaks, orientation and margins | Microsoft Word Help | |||
Getting different footers | Microsoft Word Help | |||
Cannot delete a Section Break | Microsoft Word Help | |||
deleting section breaks | Microsoft Word Help | |||
allow users to select section formatting when deleting section bre | Page Layout |