vsto - Need to find the name of the current file in excel addin -


i have excel addin 2003 excel. add in adds menu command excel menu.

what requirement that, when click on menu command need send name of current file different process... how obtain information..

please me sandeep

if you're in addin, try

string currentworkbookfilename = this.application.activeworkbook.name 

(if not think there global, globals.application or globals.thisaddin.application instead)


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -