Convert footntoes to plain text

  • Thread starter Thread starter Fred Goldman
  • Start date Start date
F

Fred Goldman

Is there any way to copy footntoes to a new document and kee their numbers?
Whenever I try to copy it all the footnote numbers revert to one.
 
What exactly are you trying to do? If you just change your footnotes
to endnotes, they'll gather at the end, and you can put a page break
before the first one and print them out as a unit.

Or, you could move all the notes to a new docuiment and turn on
paragraph numbering.
 
I need to move them to a new docuemnt. Using numbering won't work because
most of the footnotes have multiple paragraphs.
 
What are you moving? If you select the footnote reference in the text,
Copy it, and Paste it into the new document, the whole footnote will
simply appear as the next numbered footnote in the sequence. (Unless,
of course, you have turned on restart numbering on each page!)
 
Right, but I don't want it to be a footnote anymore, so I put the cursor in
the footnotes pane and press Ctrl+A. Then I copy them. When pasting them into
a new doc all the footnotes start with one.

I would like to import these footnotes as a totally seperate text into a
layout program, but I don't to have to renumber them.
 
Sorry, I'm not understanding. They were footnotes; you don't want them
to be footnotes; yet you want them to be numbered.
 
I don't thing there is any simple way to achieve this, but a macro should do
the trick. Run the following on the document that contains the footnotes. It
will write the footnotes to a new document.

Sub CopyFootnotes()
Dim sDoc As Document
Dim tDoc As Document
Dim sId As String
Dim fText As String
Set sDoc = ActiveDocument
Set tDoc = Documents.Add
For i = 1 To sDoc.Footnotes.Count
sId = sDoc.Footnotes(i).Index
sText = sDoc.Footnotes(i).Range.Text
tDoc.Activate
With Selection
.Style = "Footnote Text"
.Font.Superscript = True
.TypeText sId & " "
.Font.Superscript = False
.TypeText sText & vbCr
End With
sDoc.Activate
Next i
tDoc.Activate
End Sub

http://www.gmayor.com/installing_macro.htm


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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Very cool!!!

Thank you very much for writing me that macro!

Is there any way to get it to keep the formatting, like bold italics and
character styles when moving the footnotes to the new doc?

I was able to read how you looped through the footnotes, but I couldn't
understand the rest...
 
Try

Sub CopyFootnotes()
Dim sDoc As Document
Dim tDoc As Document
Dim sId As String
Set sDoc = ActiveDocument
Set tDoc = Documents.Add
For i = 1 To sDoc.Footnotes.Count
sId = sDoc.Footnotes(i).Index
sDoc.Footnotes(i).Range.Select
Selection.Copy
tDoc.Activate
With Selection
.Style = "Footnote Text"
.Font.Superscript = True
.TypeText sId & " "
.Font.Superscript = False
.Paste
.TypeParagraph
End With
sDoc.Activate
Next i
tDoc.Activate
End Sub


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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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

Back
Top