So you want a macro in the document to run a macro in one of you stencils?
You could try the following.
In this example the following code is in my test stencil called Stencil1 (You don't need this)
Public Sub RunMe()
MsgBox ("test")
End Sub
Then the following code would go in your document (all of it):
Sub Run()
Dim nSencil As Integer
Dim i As Integer
For i = 1 To Application.Documents.Count
If Application.Documents(i).Name = "Stencil1" Then
nStencil = i
End If
Next i
Call Application.Documents(nStencil).RunMe
End Sub
Note that it looks for the stencil called "Stencil1" you should change this to the stencils name with your macro in it.
It also calls the macro RunMe. This should be changed to your macro in the stencil.
Hope this helps, and that its clear.
- Lars