Excel UDF can't get current Appliction.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • simon zhao
    New Member
    • Dec 2011
    • 2

    Excel UDF can't get current Appliction.

    Hi guys:
    I develop an Add-in in C#.There is a ribbon menu and several UDFs. The problem is I can't get current Applicaion in UDF. One UDF code is like:
    public string GetActiveSheetN ame()
    {
    return Globals.ThisAdd In.Application. ActiveSheet.Nam e;
    }
  • simon zhao
    New Member
    • Dec 2011
    • 2

    #2
    Example project

    Nobody knows it?????

    Comment

    Working...