Macro writting to walk down the document and replace the style

  • Thread starter Making a more workable Macro
  • Start date
M

Making a more workable Macro

Big AllenCan a macro be wriitten to replace the style of heading marked like
4.5.1 "some text" then paragraph mark. I can walk down the using find and
replace but it sometimes gets the paragraph number text nd also replaces a 4
number text with a three number heading style?
I want to only tag "style" the heading by the numbers and periods.
I used the text, and ^#.^# to replace the style but it doesn't work good
enough.
Allen
 
D

Doug Robbins - Word MVP

Show us the code that you have.

Replace with what?

Does the 4.5.1 "some text" then paragraph mark have a style such as Heading
3 applied to it or, were the numbers merely entered from the keyboard? If
that is the case, what separates the numbers from the text? Spaces or a
Tab?

--
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

"Making a more workable Macro" <Making a more workable
(e-mail address removed)> wrote in message
news:[email protected]...
 

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