Macro that delete section breaks in a document

C

constance

Hi everybody,
I'd like to write a macro that deletes all the section breaks in
opened document
Any help would be appreciated

thanks

Lyn
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Hi Constance,

Use Word's Edit replace utility with ^b in the Find what control and nothing
(or maybe ^p) in the Replace with control.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 
C

constance

Hi Doug, thank you very much for your answer
it seems to work perfectly
can you tell me where I can find a table with all those special
characters like section breaks, page breaks and so on

Thanks

Constance
 
M

Mark Tangard

Constance,

These are in Word's help. Look at the help pages for:
"Type codes for items you want to find and replace"

and also:
"Type wildcards for items you want to find"

(Those are the page titles in Word 2000; may have changed in later
versions.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top