Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 03-11-2015, 05:43 AM
BruceM BruceM is offline Fast way to add style formatting to a multilevel list Windows 7 64bit Fast way to add style formatting to a multilevel list Office 2010 32bit
Advanced Beginner
 
Join Date: Feb 2015
Posts: 41
BruceM is on a distinguished road
Default

Regarding the appearance of the list in the message, if you select the text and click the code tags icon (octothorpe, or #) in the reply toolbar it will preserve indents and spaces. It will be labeled as code, but that's OK.
To your original question, I'm not clear as to whether the original document uses outline (multi-level) numbering or instead the numbers were written in manually (or that's how they showed up when copied from another source). I ask because I have not seen Word add two numbering schemes to the same paragraph. Not saying it couldn't happen (Word still surprises me, sometimes pleasantly and sometimes not), but only that I think I would have seen it by now in my own explorations.
If the numbering has been applied manually, you may be able to get most of it done with some wildcard find and replace. First, format Headings 1, etc. in the outline numbering format of your choice.
I can't tell from what you posted what the actual formatting might be, but assuming the I, II, etc. headings are at the margin (0 indent) you could do this as a wildcard F&R:

Find: (I{1,}.^t)(*^13)
Replace: \2
For the replace, also do Format >> Style >> Heading 1

The part enclosed in the first parentheses is to find one or more instances of the letter I followed by a period and a tab. The second parentheses searches for any text after that, followed by a paragraph mark (that is to say the Enter key was pressed -- note that ^13 is needed to find a paragraph when doing a wildcard search, otherwise ^p). The replace is the text of the paragraph followed by the paragraph mark (the Find enclosed in the second set of parentheses).

This will find only the Roman numerals I, II, and III. To find all instances up to 40 (XL) you could do:
([IVX]{1,}.^t)(*^13)
Note that the search will fail is there is no period after the number.

If the outline numbering is capital letters you could search for [A-Z]. If it is numbers, [0-9]. If there is a tab character you could add that to the search string using Special in the F&R dialog (or just use ^t). If it is a paragraph indent you could search for that using Format >> Paragraph in the F&R dialog. Just remember that searching for the paragraph formatting and such is "sticky", meaning that if you search for paragraph formatting indent 1" you will need to go back and clear that entry in the paragraph dialog box, or else F&R will limit itself to paragraphs with indent 1 (or 0 for that matter).

I'll leave it at this since I don't know for sure that it is what you are trying to do.
Reply With Quote
 

Tags
formatting, macro find text, styles



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multilevel list numbering question st.p Word 3 12-26-2014 02:51 PM
is ther a multilevel list available Michi OneNote 3 09-25-2014 03:25 AM
Fast way to add style formatting to a multilevel list Problem multilevel list! anouar2002 Word 2 03-02-2014 04:11 PM
Fast way to add style formatting to a multilevel list Multilevel List leaderofmarines Word 2 07-02-2013 05:02 AM
multilevel numbered list formatting is hurting my brain oompa_l Word 0 09-16-2008 01:37 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft