P
pavan
Hi All,
I'm creating a Word Addin. There is some code that is to be executed
only for some dpecific doucments while the rest of the code is to
executed for all the documents. hence I need to know the name of the
document that is opened.
object oName = applicationObject.GetType().InvokeMember("Name",
BindingFlags.GetProperty, null, applicationObject, null);
I tried the above but it gives me the name of the application (like MS
Excel, MS Word) but not the name of the document.
Any pointers on this will be of gr8 help
Thanks & Regards,
Pavan
I'm creating a Word Addin. There is some code that is to be executed
only for some dpecific doucments while the rest of the code is to
executed for all the documents. hence I need to know the name of the
document that is opened.
object oName = applicationObject.GetType().InvokeMember("Name",
BindingFlags.GetProperty, null, applicationObject, null);
I tried the above but it gives me the name of the application (like MS
Excel, MS Word) but not the name of the document.
Any pointers on this will be of gr8 help
Thanks & Regards,
Pavan