More in hope than expectation as I am only skimming VSTO at the present (and
even then in VB.Net not C#), but if you have a pointer to the Excel
application object through the Office Interop structure then you should be
able to use the WorksheetFunction property of the Application object
xlApp.WorksheetFunction.Min(Range)
Note: Some functions are not available through this route for a list check
help in VBA for the property
--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England www.nickhodge.co.uk
(e-mail address removed)
Sorry didn't realise it was a UDF. You have the correct route to run any
code in Excel now...good luck
--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England www.nickhodge.co.uk
(e-mail address removed)
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.