I have the following two Sub defined in my Word Addin (.dotm) which I have put in StartUp directory
Public Sub SayHi1()
MsgBox \"Hi.......\"
End Sub
Pub
This appears to be long-standing problem with Word.
As KB190235 suggests:
Cause:
You have included a template name as part of the Macroname argument string.Resolution:
Remove the template name from the Macroname argument.Workaround:
To avoid naming conflicts among referenced projects, give your procedures unique names, so that you can call a procedure without specifying a project or module.