delete section breaks

W

William

Hi,

for word xp, how could i delete all the section breaks in a document in vba?

thank you,

william.

--
 
V

Vince

with activedocument.range.find
.clearformatting
.text="^b"

with .replacement
.text=""
end with
.execute replace:=wdreplaceall

end with
 
Top