OK I see the errors of my ways now... this works without error.. but the AddIn is still not enabled?
Set oWord = CreateObject("Word.Application")
Set oAddins = oWord.AddIns
oAddIns.Add "C:\Program Files (x86)\Labelling Tool v.2.0\LabelingData\Labeling.dotm", True
oAddIns ("C:\Program Files (x86)\Labelling Tool v.2.0\LabelingData\Labeling.dotm").Installed = True
Set oAddins = Nothing
oWord.Quit
Set oWord = Nothing
|