Non ho capito bene cosa tu voglia fare.
La macro qui sotto da inserire in un modulo standard di Excel, apre un file di Word ed esegue la macro
Pippo che si trova in un modulo standard di quel programma:
Public Sub m()
On Error GoTo RigaErrore
Dim objWord As Object
Dim objDoc As Object
Dim strPath As String
strPath = "C:\Prova\Test.docm"
If Dir(strPath) <> "" Then
Set objWord = CreateObject("Word.Application")
Set objDoc = objWord.Documents.Open(strPath)
Else
MsgBox "File non trovato"
Exit Sub
End If
objWord.Visible = False
objWord.Run ("Pippo")
RigaChiusura:
objWord.Quit
Set objDoc = Nothing
Set objWord = Nothing
Exit Sub
RigaErrore:
MsgBox Err.Number & vbNewLine & Err.Description
Resume RigaChiusura
End Sub
In grassetto i riferimenti al file di Word e alla sua macro.