Hi Andrey,
Could you expand a bit on your question?
Do you mean a function that is on the worksheet, or a function you have defined in the add-in?
Do you just want to call the function and get the result for further processing in the ribbon handler?
For your own UDFs you can just make the .NET call directly:
var myResult = MyFunctions.DoTheMath(123, 456);
For built-in function you might use the Excel Application object:
dynamic xlApp = ExcelDnaUtil.Application;
var myResult = xlApp.WorksheetFunction.ACos(0);
But maybe you mean something else...?
-Govert