Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2013, 01:08 AM
gokceng gokceng is offline Using Numbering for Manually Numbered Text Windows 7 64bit Using Numbering for Manually Numbered Text Office 2010 64bit
Novice
Using Numbering for Manually Numbered Text
 
Join Date: Sep 2013
Posts: 3
gokceng is on a distinguished road
Default Using Numbering for Manually Numbered Text


Hello,
If this is a re-post, excuse me. I couldn't find any post for this.
I've a document that has nearly 300 elements to be numbered. There are tables/text/images between elements to be numbered. Numbering has only one level, no indentation needed.
I'm generating this document via a automation tool: http://docx.codeplex.com/

It doesn't support numbering/bullets, so I've appended numbers in increasing order. I've tried to generate ToC(Table of Contents) from this but as I expect it needs document to have numbering.

My main aim is to generate ToC for this document. I think best option is generating an ms-word-style numbering but I'm open to any advice(including macro or programming).

Thanks.

Edit: You can find the example document in attachment.
Attached Files
File Type: docx example.docx (13.6 KB, 7 views)

Last edited by gokceng; 09-24-2013 at 01:49 AM. Reason: Attachment added
Reply With Quote
  #2  
Old 09-23-2013, 10:53 PM
eNGiNe eNGiNe is offline Using Numbering for Manually Numbered Text Windows 7 32bit Using Numbering for Manually Numbered Text Office 2010 64bit
Expert
 
Join Date: Jan 2012
Location: Brussels [BE]
Posts: 746
eNGiNe is on a distinguished road
Default

Don't see the attachment and don't know codeplex … but as long as the elements to be numbered all use the same style, shouldn't you be able to update that style to use autonumbering?
Reply With Quote
  #3  
Old 09-24-2013, 01:53 AM
gokceng gokceng is offline Using Numbering for Manually Numbered Text Windows 7 64bit Using Numbering for Manually Numbered Text Office 2010 64bit
Novice
Using Numbering for Manually Numbered Text
 
Join Date: Sep 2013
Posts: 3
gokceng is on a distinguished road
Default

Quote:
Originally Posted by eNGiNe View Post
Don't see the attachment and don't know codeplex … but as long as the elements to be numbered all use the same style, shouldn't you be able to update that style to use autonumbering?
Thank you for reply.
I've added attachment now. In fact docX doesn't matter. I've a docx document like the attached one and I need to apply numbering to get a ToC. Do you have any idea for that?
Reply With Quote
  #4  
Old 09-24-2013, 12:33 PM
Charles Kenyon Charles Kenyon is offline Using Numbering for Manually Numbered Text Windows Vista Using Numbering for Manually Numbered Text Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

See:
How to create a table of contents in Microsoft Word
How to create numbered headings or outline numbering in Word 2007 and Word 2010
How to number headings and figures in Appendixes in Microsoft Word

As you can see, these are all depending on using Styles for different elements in a document. If your elements are set for given styles, you can number them sequentially - either single or multi-level.

Otherwise, you could insert SEQ fields to number them. That is older technology and might fit your needs better. To do this, in your source document you would put some unique character combination (i.e. xxyxxyxx) every place you want a sequential number. Then replace that unique combination with a SEQ field throughout your document and you will have sequential numbers.
Reply With Quote
  #5  
Old 09-24-2013, 01:02 PM
Ulodesk Ulodesk is offline Using Numbering for Manually Numbered Text Windows 7 64bit Using Numbering for Manually Numbered Text Office 2010 64bit
Word 2013 Expert Cert
 
Join Date: Sep 2009
Location: Virginia
Posts: 866
Ulodesk is on a distinguished road
Default

Charles, after a half hour of looking up fields, I'm still stumped. For the Find box, Special has a Field option, but Replace does not. Therefore, how does one replace xyxy with a field?

Thank you.
Reply With Quote
  #6  
Old 09-24-2013, 03:53 PM
Charles Kenyon Charles Kenyon is offline Using Numbering for Manually Numbered Text Windows Vista Using Numbering for Manually Numbered Text Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

I will be back to you later tonight on this.
This can be deleted. Next post shows one possible solution.

Last edited by Charles Kenyon; 09-24-2013 at 07:31 PM.
Reply With Quote
  #7  
Old 09-24-2013, 07:29 PM
Charles Kenyon Charles Kenyon is offline Using Numbering for Manually Numbered Text Windows Vista Using Numbering for Manually Numbered Text Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Insert your first SEQ field manually. i.e. { SEQ myNum }

Select and Copy it (Ctrl-C)

Ctrl-H to get replace.

Type your search phrase xyxy in the Find box.

Type ^c in the Replace box (clipboard contents)

Click on Replace All.
Reply With Quote
  #8  
Old 09-24-2013, 11:06 PM
eNGiNe eNGiNe is offline Using Numbering for Manually Numbered Text Windows 7 32bit Using Numbering for Manually Numbered Text Office 2010 64bit
Expert
 
Join Date: Jan 2012
Location: Brussels [BE]
Posts: 746
eNGiNe is on a distinguished road
Default

Wise words (one phrase selected from many excellent pages) from John McGhie, MVP:
Quote:
For professional purposes, field-based numbering is the recommended method: you have complete control and it never breaks.
Reply With Quote
  #9  
Old 09-25-2013, 06:01 AM
Charles Kenyon Charles Kenyon is offline Using Numbering for Manually Numbered Text Windows Vista Using Numbering for Manually Numbered Text Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

I (always) agree with anything John McGhie says about numbering!

BTW I forgot to mention that after you do the replace, you need to do Ctrl-A and then press the F9 key to update the fields.
Reply With Quote
  #10  
Old 09-25-2013, 08:43 AM
Ulodesk Ulodesk is offline Using Numbering for Manually Numbered Text Windows 7 64bit Using Numbering for Manually Numbered Text Office 2010 64bit
Word 2013 Expert Cert
 
Join Date: Sep 2009
Location: Virginia
Posts: 866
Ulodesk is on a distinguished road
Default

Much obliged.
Reply With Quote
  #11  
Old 09-25-2013, 05:02 PM
Charles Kenyon Charles Kenyon is offline Using Numbering for Manually Numbered Text Windows Vista Using Numbering for Manually Numbered Text Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

You are welcome.
Reply With Quote
Reply

Tags
numbering



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Numbering for Manually Numbered Text Making the second line of text in a numbered list wrap back to the left margin aaron12345 Word 1 06-19-2012 05:29 PM
Using Numbering for Manually Numbered Text How to set spacing between number and actual text in a MS Word 2012 numbered list jano_rajmond Word 1 06-12-2012 06:28 AM
Using Numbering for Manually Numbered Text convert numbered list to regular text Cobb78 Word 1 05-26-2012 05:09 PM
Using Numbering for Manually Numbered Text Changing formats manually?? Flabbergaster Word 1 11-03-2010 02:45 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:03 AM.


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