L
Larry
How do you store information about the currently active document in a
macro or function, in order to access it later?
For example, I want to store the name of the current document, so that I
can run that name later, when a different document is active.
I know about storing information about a document in settings.text, and
then accessing it later, as below. I just wondered if there was a way
to do the same thing completely within Word.
Selection.Font.name = System.PrivateProfileString("C:\Settings.Txt", _
"MacroSettings", "Font")
Thanks,
Larry
macro or function, in order to access it later?
For example, I want to store the name of the current document, so that I
can run that name later, when a different document is active.
I know about storing information about a document in settings.text, and
then accessing it later, as below. I just wondered if there was a way
to do the same thing completely within Word.
Selection.Font.name = System.PrivateProfileString("C:\Settings.Txt", _
"MacroSettings", "Font")
Thanks,
Larry