Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #12  
Old 05-08-2012, 03:25 PM
macropod's Avatar
macropod macropod is offline Citations Source Manager Master List empty! Windows 7 64bit Citations Source Manager Master List empty! Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Hi Paul,

AFAIK, Sources.xml is the only file used for the 'master' list. However, every cited reference in your dissertation should still be in that. You can add those back to the 'master' list from a given document's list via a macro like:
Code:
Sub SourcesRebuild()
Dim oSrc As Source
'Don't throw an error if the source is already present
On Error Resume Next
For Each oSrc In ActiveDocument.Bibliography.Sources
  Application.Bibliography.Sources.Add oSrc.XML
Next
End Sub
For backup/restore purposes, you can also export the 'master' list to a new document from which it can later be restored, using macros like:
Code:
Sub SourcesExport()
Dim oSrc As Source, StrSrc As String
With ActiveDocument
  .Range.Text = vbNullString
  For Each oSrc In Application.Bibliography.Sources
    StrSrc = StrSrc & vbCr & oSrc.XML
  Next
  .Range.InsertAfter StrSrc
  .Paragraphs.First.Range.Delete
End With
End Sub
 
Sub SourcesImport()
Dim i As Long, StrSrc As String
'Don't throw an error if the source is already present
On Error Resume Next
With ActiveDocument
  For i = 0 To UBound(Split(.Range.Text, vbCr))
    Application.Bibliography.Sources.Add Split(.Range.Text, vbCr)(i)
  Next
End With
End Sub
Writing the list to a document, instead of adding them to its bibliography or simply backing up Sources.xml, makes it easier to delete entries that are no longer needed before reimporting the list.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Citations Source Manager Master List empty! Citations Appear in "Current List", but not in the document itself jp_igit Word 3 03-30-2012 03:20 AM
Apparently empty (blank) cells aren't empty daymaker Excel 3 03-08-2012 03:41 PM
Citations Source Manager Master List empty! Trouble on Using List number style in Master Document nattasiray Word 2 12-16-2011 08:01 PM
Advanced Citations tatrier Word 3 11-15-2011 03:21 AM
Inserting citations using the reference function in Microsoft Word 2007? aeyara Word 0 09-28-2009 05:33 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:00 AM.


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