Class Bibliography (Word VBA)

The class Bibliography represents the list of sources available attached to the document (in the current list) or the list of sources available in the application (in the master list).

Set

To use a Bibliography class variable it first needs to be instantiated, for example

Dim bbl as Bibliography
Set bbl = Application.Bibliography

The following procedures can be used to set variables of type Bibliography: Application.Bibliography and Document.Bibliography

BibliographyStyle

Returns or sets a String that represents the name of the active style to use for a bibliography.

For more information, see Working with Bibliographies.

Application.Bibliography.BibliographyStyle =

GenerateUniqueTag

Generates a unique identification tag for a bibliography source and returns a String that represents the tag.

For more information, see Working with Bibliographies.

Dim strGenerateUniqueTag As String
strGenerateUniqueTag = Application.Bibliography.GenerateUniqueTag()

Parent

Returns an object that represents the parent object of the specified Bibliography object.

Dim objParent As Object
Set objParent = Application.Bibliography.Parent

Sources

Returns a Sources collection that represents all the sources contained in a bibliography.

Dim srcsSources As Sources
Set srcsSources = Application.Bibliography.Sources