D
Dkline
I need to set a the "Hyperlink base" in a new file's properties. File is
built from scratch by a macro.
Using object browser I found Word.WdBuiltInProperty.wdPropertyHyperlinkBase
But I can't simply set it to "\\Server03"
I get this error message:
A constant represents a read-only value. This error has the following causes
and solutions:
a.. You tried to assign a new value to a variable declared with Const, or
to a type library constant.
If you need to assign a new value, declare an ordinary variable of the
type desired and assign your value to that variable. If you need a variable
with a restricted set of values, you can declare an enumeration, using the
Enum statement.
At bottom of Object Browser it shows "Const wdPropertyHyperlinkBase = 29
(&H1D)":
How can I set this property to \\Server03?
built from scratch by a macro.
Using object browser I found Word.WdBuiltInProperty.wdPropertyHyperlinkBase
But I can't simply set it to "\\Server03"
I get this error message:
A constant represents a read-only value. This error has the following causes
and solutions:
a.. You tried to assign a new value to a variable declared with Const, or
to a type library constant.
If you need to assign a new value, declare an ordinary variable of the
type desired and assign your value to that variable. If you need a variable
with a restricted set of values, you can declare an enumeration, using the
Enum statement.
At bottom of Object Browser it shows "Const wdPropertyHyperlinkBase = 29
(&H1D)":
How can I set this property to \\Server03?