Hi again!

In the file containing the VBA code to change my Ribbon, this code is a part of my VBA:

<button id="Btn7"label="Engasjementsbrev"onAction="MyActionMacro7"/>

I now have added Module1 to this document, an in this module I have added the following sub:

Sub MyActionMacro7()

ChangeFileOpenDirectory "C:\Makro-dokumenter\"
Documents.Open FileName:="""x9 - Engasjementsbrev.dotm""", _
ConfirmConversions:=False, ReadOnly:=False, AddToRecentFiles:=False, _
PasswordDocument:="", PasswordTemplate:="", Revert:=False, _
WritePasswordDocument:="", WritePasswordTemplate:="", Format:= _
wdOpenFormatAuto, XMLTransform:=""

End Sub

I would hope this could make my macro work, but it doesn't. When click Btn7, this message pops up:

"Wrong number of arguments or invalid property assignment."

Any suggestions anyone??

Thanks!