A way to require add-in before doc opens?

Add-in Express™ Support Service
That's what is more important than anything else

A way to require add-in before doc opens?
 
Simon Durso




Posts: 1
Joined: 2011-02-27
Is there a way to create an add-in such that only users of your add-in can open particular documents that I later provide?

James
Posted 27 Feb, 2011 12:47:46 Top
Eugene Astafiev


Guest


Hi Simon,

Unfortunately the Office Object Model doesn't allow creating/adding your own (custom) file formats. Instead you can cipher a document and then decipher it programatically when you open it in the host application with your add-in installed. What is the target host application of your add-in?

BTW To get assistance with host applications?Â?Ð?é objects, their properties, and methods as well as help info, use the Object Browser. Go to the VBA environment (in the host application, choose menu Tools | Macro | Visual Basic Editor or just press {Alt+F11}), press {F2}, select the host application in the topmost combo and/or specify a search string in the search combo. Select a class/property/method and press {F1} to get the help topic that relates to the object.
Posted 28 Feb, 2011 07:06:30 Top