Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 09-29-2015, 03:47 AM
macropod's Avatar
macropod macropod is offline corrupted source list? Windows 7 64bit corrupted source list? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,525
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
corrupted source list? 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
corrupted source list? 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

Other Forums: Access Forums

All times are GMT -7. The time now is 01:53 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft