Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

Numbered Paragraphs in Imported Text File

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John von Colditz - 07 Dec 2004 21:27 GMT
I am importing a text file into Word 2000 that contains numbered paragraphs.
Each imported document may have several series of numbered paragraphs
beginning at 1. I have written code to format each paragraph as a numbered
paragraph, but it will not restart the numbering at 1 for each series of
paragraphs. Can someone suggest a way to do this? Thanks!
Cindy M  -WordMVP- - 09 Dec 2004 14:18 GMT
Hi John,

> I am importing a text file into Word 2000 that contains numbered paragraphs.
> Each imported document may have several series of numbered paragraphs
> beginning at 1. I have written code to format each paragraph as a numbered
> paragraph, but it will not restart the numbering at 1 for each series of
> paragraphs.

You should look at the information available on the Internet on HOW Word
numbering works in this version of Word. The following sites should help

http://www.shaunakelly.com/word
word.mvps.org
http://www.syntagma.co.uk

There are really only two basic approaches you can use
   - a different style for each set of numbering
   - formatting the paragraph just before a numbering block with an invisible
"first level" of a outline numbering, and have the second level be the actual
numbering one sees. The second level is set to restart after each first level,
and so restarts reliably.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
John von Colditz - 10 Dec 2004 16:25 GMT
Cindy,

Magnificent! That's just what I needed to know!

> Hi John,
>
[quoted text clipped - 25 lines]
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.