![]() |
|
#7
|
||||
|
||||
|
It's in post #2...
Do note that it's only designed for importing references in the xml format Word uses - which is what the SourcesExport macro produces. The following macro converts a document’s Citations & Bibliography to static text. Note the use of WordBasic ! for this. Note also that converting a Bibliography to static text does not remove it’s building block container – a form of content control. A trivially-simple alternative is to save the file in Word's doc format. Code:
Sub References_Unlink()
Dim Fld As Field, FtNt As Footnote, EndNt As Endnote
With ActiveDocument
For Each Fld In .Fields
If Fld.Type = wdFieldCitation Then
Fld.Select
WordBasic.BibliographyCitationToText
ElseIf Fld.Type = wdFieldBibliography Then
Fld.Select
WordBasic.BibliographyCitationToText
End If
Next
For Each FtNt In .Footnotes
For Each Fld In FtNt.Range.Fields
If Fld.Type = wdFieldCitation Then
Fld.Select
WordBasic.BibliographyCitationToText
End If
Next
Next
For Each EndNt In .Endnotes
For Each Fld In EndNt.Range.Fields
If Fld.Type = wdFieldCitation Then
Fld.Select
WordBasic.BibliographyCitationToText
End If
Next
Next
End With
End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Urgent: Multi Level List issues with list levels becoming "corrupted?"
|
beanie | Word | 5 | 05-24-2014 10:04 AM |
| Citations Source Manager Master List empty! | rachetta | Word | 16 | 08-07-2012 03:30 PM |
drop down list from external data source Excel 2007?
|
Intruder | Excel | 1 | 08-03-2012 05:41 AM |
| Corrupted | strike | Office | 0 | 05-15-2010 03:28 PM |
| Installation Source Corrupted | browneyes | Office | 1 | 01-23-2006 02:33 PM |