Activedocument.Footnotes.Reference.Text
Hi Everyone,
I have a bit of a problem for which I'd like some input from the community. I have created a VBA macro in Word (2000, 2003, 2007 respond in the same manner) that requires me to obtain pre-existing reference mark values of footnotes and endnotes. When I attempt to obtain the actual text of the reference mark using "ActiveDocument.Footnotes.Reference.Text" I am given a square(!) -- presumably because Word cannot store/display the proper reference mark text -- whereas I am expecting a footnote numeral (e.g. "1" or "i" or "a").
Has anyone else experienced this, and does a work-around exist?
Here is an example that gives me a square instead of the proper "1" text value:
Code:
Call ActiveDocument.Footnotes.Add(Selection.Range, , "Footnote text")
MsgBox ActiveDocument.Footnotes.Item(1).Reference.Text
Thanks for any insight!