replace variables (auto-numbered paragraph numbers) with constants

MS WORD

    Next

  • 1. What does "PROP DLL not loaded" mean?
    I have a resume that was sent to me from my school. Every time I open it this comes up? Thank You
  • 2. Citations in Footnote format
    hello, i'm doing a document where i have to cite sources. I start by creating a citation source, then a footnote for the citation. When i go to the bottom to enter my footnote, I click citation and then the citation that I want to insert. However, it is in the wrong format. It appears something like (Microsoft, 1999) when I want it to display Microsoft (1999). The Benefits of Windows 2000. Some Magazine Company, 2. Any ideas? Thanks!
  • 3. Word Mail Merge not picking up filtered data from Excel
    Word 2007, Excel 2007, XP I am trying to use Mail Merge in Word (envelopes) from a large Excel spreadsheet. The Excel spreadsheet has several columns that have been filtered. I turn the filter off before saving the spreadsheet (saving the filtered information). When I merge, ALL the information on the spreadsheet is coming over - which rather defeats the purpose of filtering the spreadsheet in the first place. I can copy the filtered spreadsheet onto a new spreadsheet and then the merge seems to work, but should I have to do this? Any ideas? Thanks.
  • 4. Automatic Repeat of text on each page
    I would like to set up a 'return to top of document' button that will automatically appear on each new page, like a header or footer will. I could add this in the header of footer except the header or footer need to be activated to access this 'back to top of document' button. Thoughts?

replace variables (auto-numbered paragraph numbers) with constants

Postby emFwc3Bhbg » Tue, 04 Mar 2008 15:14:00 GMT

I often write a particular type of technical document in which each paragraph 
is numbered (using auto-numbering, so that I can insert new paragraphs and 
not have to re-number the whole document).  Is there a way, when I'm sure 
that I won't need to make any changes, that I can have the variable paragraph 
numbers repalced with their current value?  I am asking because someone else 
wants to be able to copy some of my paragraphs into a new Word document 
without losing the paragraph number.

Thanks,
Mike

Re: replace variables (auto-numbered paragraph numbers) with constants

Postby Graham Mayor » Tue, 04 Mar 2008 15:26:07 GMT

The following macro should do the trick

Sub NumbersAutoToText()
ActiveDocument.ConvertNumbersToText
End Sub

 http://www.**--****.com/ 

Test it on a *copy* of the document.

-- 
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site  http://www.**--****.com/ 
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>








Similar Threads:

1.replace variables (auto-numbered paragraph numbers) with const

2.How to retrieve the paragraph number of an auto-numbered paragraph

Hi Robot,

as this is the beginners group,
without discussing all details,
in principle like that:

With Selection.Range.ListParagraphs(1)
   MsgBox .Range.ListFormat.ListString
End With

assuming, that there is a listparagraph...

-- 
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Word 2002, Windows XP (german versions)

3.convert auto numbered paragraph numbers to text

Now that I have finished a document that others will edit and who do NOT LIKE 
auto numbering, how do I convert the auto-numbers to text?  That is, 
auto-number 7 to just plan 7 text in word 2007?

Thank you

4.Replace a constant with an incrementing number

Is there a way in Word to replace a constant with a self incrementing number?
For example, I have a 500+ page Word document, it has a fixed phrase XYZ 
repeated many, many times in the document.  I need to replace XYZ with a self 
incrementing number where I can specify what the starting number would be; 
first occurance of XYZ becomes 101000, second occurance of XYZ becomes 101001 
etc.
Can I use 'Find and Replace' for what I need to do?  Or do I have to get 
into Macros?

5.Auto paragraph number - then remove auto

I like to use auto paragraph number,which is really outlinning.  Someone I send documents to cannot or will not use it and has asked me not to use it.  However, not using it is a pain

How can I use the auto paragraph number function and then when I am through, remove the auto paragraph but leave the paragraph numbers in the document as if they were hard coded

Thanks

6. Find/Replace Constant Strings in Word Document With Variable Data With VBA

7. custom numbering - constant digits number

8. Reading Auto-Numbered Word Paragraph Styles in VB



Return to MS WORD

 

Who is online

Users browsing this forum: No registered users and 37 guest