![]() |
#12
|
||||
|
||||
![]()
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 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
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
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 |
![]() |
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 |