views:

108

answers:

0

Hi,

I have a template document with a simple macro to insert a file into a document. When i try to load this template file using Application.Addins.Add i am getting an error saying 'Word cannot open this document template'.

wordApplication.AddIns.Add( %template file path%, ref trueObj );

This works fine on some machines.

Also is there any way to make sure that we load the template file as a global Template always.