Michael:
That won't do it, the parameter should be passed as a VARIANT type variable, which I don't know how.
Here is another example, note that the 1st paramenter is diferent in both syntaxis :
Syntax 1
expresión.Save(NoPrompt, OriginalFormat)
Syntax 2
expresión.Save(Comment)
Syntax 1: Requerida. Expresión que devuelve un objeto Documents.
Syntax 2: Requerida. Expresión que devuelve un objeto Versions.
NoPrompt = Type Variant optional.
OriginalFormat = Type Variant optional.
Comment = Type Variant optional.
Here is the VBasic example:
Syntax 1:
Documents.Save NoPrompt:=True, OriginalFormat:=1
Syntax 2:
Documents.Save Comment:="Minor changes to intro"
Jorge Flores
From the Amigo Country