View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Nick Hodge Nick Hodge is offline
external usenet poster
 
Posts: 1,173
Default calling excel funcions?

Lars

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
HIS


"Lars Schouw" wrote in message
oups.com...
How do I call funcions in my own add-in from C# using VSTO 2003?
Regards
Lars Schouw