Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Convert footntoes to plain text

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
Word MVP web site http://word.mvps.org




Fred Goldman wrote:
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...



 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I convert Word bullet points to plain text? mikeTrust Microsoft Word Help 3 June 1st 07 08:33 AM
How to convert Western European Plain text doc to US Word doc. Hub Microsoft Word Help 1 February 27th 07 01:30 PM
how do i convert a plain text email to an html email? BBA Microsoft Word Help 1 May 5th 06 01:47 AM
How do I convert automatic heading numbers to plain text? Mark_with_Questions Page Layout 2 October 25th 05 10:53 PM
Convert hyperlinked Table of Contents to plain text Grace L. Judson Tables 1 April 22nd 05 10:29 PM


All times are GMT +1. The time now is 04:53 AM.

Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"