L
L.A. Lawyer
I want to loop through all of the citations already marked in a document and
return them as items in drop down box in a user form.
Here is my code, which fails, apparently because I am not properly
referencing the "short citation" (which is what I want to be returned) (I
have marked with astericks where I believe the code is failing; I also don't
know how to specify that I want the "short citation"):
Dim i
For Each i In ActiveDocument.TablesOfAuthorities
With TablesOfAuthorities.MarkAllCitations(i)
With AlreadyInDocument
**** .AddItem MarkAllCitations(i)
End With
Next
return them as items in drop down box in a user form.
Here is my code, which fails, apparently because I am not properly
referencing the "short citation" (which is what I want to be returned) (I
have marked with astericks where I believe the code is failing; I also don't
know how to specify that I want the "short citation"):
Dim i
For Each i In ActiveDocument.TablesOfAuthorities
With TablesOfAuthorities.MarkAllCitations(i)
With AlreadyInDocument
**** .AddItem MarkAllCitations(i)
End With
Next