Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
pdrew pdrew is offline
external usenet poster
 
Posts: 2
Default Making footnote numbers and footnotes plain text for Web

I need to import Word 2000 docs containing automatic footnotes into web
pages. I know that automatic footnotes do not import into HTML pages. Is
there a way to turn off the coding of the automatic footnotes in the Word
doc, leaving just static text, so I can import the doc into Dreamweaver?
Thanks!
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Making footnote numbers and footnotes plain text for Web

What you can do is the following (but I have no idea if it is helpful for
Dreamweaver): First convert the footnotes to endnotes, and then convert the
endnotes to text using Doug Robbins' macro below.

Sub ConvertEndnotes()
Dim aendnote As Endnote
Dim arange As Range
Dim trange As Range
For Each aendnote In ActiveDocument.Endnotes
Set arange = aendnote.Range.FormattedText
arange.Copy
ActiveDocument.Range.InsertAfter vbCr
Set trange = ActiveDocument.Range
trange.Start = trange.End
trange.Paste
aendnote.Reference.InsertBefore "a" & aendnote.Index & "a"
Next aendnote
For Each aendnote In ActiveDocument.Endnotes
aendnote.Reference.Delete
Next aendnote
Selection.Find.ClearFormatting
Selection.Find.replacement.ClearFormatting
With Selection.Find.replacement.Font
.Superscript = True
End With
With Selection.Find
.Text = "(a)([0-9]{1,})(a)"
.replacement.Text = "\2"
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchWildcards = True
End With
Selection.Find.Execute Replace:=wdReplaceAll
End Sub

--
Stefan Blom
Microsoft Word MVP


"pdrew" wrote:

I need to import Word 2000 docs containing automatic footnotes into web
pages. I know that automatic footnotes do not import into HTML pages. Is
there a way to turn off the coding of the automatic footnotes in the Word
doc, leaving just static text, so I can import the doc into Dreamweaver?
Thanks!

Reply
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
Footnote Reference missing from Footnotes KAM Microsoft Word Help 1 January 12th 07 06:23 PM
How do I hide footnote numbers in text, but keep end notes visible Mitch Microsoft Word Help 3 January 5th 07 08:22 PM
Making Comments in endnotes/footnotes in using Word Track Changes. mindonfire Microsoft Word Help 2 July 7th 06 09:34 AM
Import plain text footnotes in Word azcoyote Microsoft Word Help 0 March 22nd 06 02:35 PM
How do I convert automatic heading numbers to plain text? Mark_with_Questions Page Layout 2 October 25th 05 10:53 PM


All times are GMT +1. The time now is 09:04 PM.

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

About Us

"It's about Microsoft Word"