Thread: [Solved] Word.Application Object
View Single Post
 
Old 11-10-2016, 08:29 AM
brynrogers brynrogers is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Nov 2016
Posts: 2
brynrogers is on a distinguished road
Default

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
Reply With Quote