Peter-
What you have come across is a Named Argument.
I quote from the VBA Help:
"named argument:
An argument that has a name that is predefined in the
object library. Instead of providing a value for each
argument in a specified order expected by the syntax, you
can use named arguments to assign values in any order. For
example, suppose a method accepts three arguments:
DoSomeThing namedarg1, namedarg2, namedarg3
By assigning values to named arguments, you can use the
following statement:
DoSomeThing namedarg3 := 4, namedarg2 := 5, namedarg1 := 20
Note that the named arguments don't have to appear in the
normal positional order in the syntax
"
I can see where you would be frustrated, as the VBA help
just says the parameter must be a string. However, if you
look at the error message, it says "= expected". If you
then hit F1 for Help, the Help file mentions Named
Arguments. Admittedly, it's the 3rd bullet point down, but
it IS there! ;-)
BTW, The UpdateLinks parameter is optional.
-Andrew
=======================================