Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I am looking for a way to call a function from within Excel, like @myfunc(B1:D10, E1) which executes a C++-based function (potentially dll or COM) which passes the cell range i.e B1:D10, as well as the location where to store the result of myfunc, i.e. E1. Subsequently the myfunc in the dll does it's math magic and passes the result back to the spreadsheet into cell E1. This can't be too difficult, except all the samples I see are VBA based. I also downloaded the COMAddin sample which is C++-based, but I can't seem to get the pointer to a range of cells which I marked prior to clicking the MyCommandBar button in the spreadsheet. I have spent a lot of time in searches and I am getting frustrated about this. Does anyone have a good pointer to a sample or a sample which I could dissect and use as a basis to start my project from? No VBA please!!! Thank you much in advance! um |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
calling a C++ program from Excel 2000 and passing a result from C++ back to an excel spreadsheet | Excel Discussion (Misc queries) | |||
calling a stored procedure on MS SQL Server within MS Excel 2000 | Excel Programming | |||
Calling Excel array functions in VBA | Excel Programming | |||
Calling functions from Excel worksheets and the Find function in XL '97 | Excel Programming | |||
Calling certain functions within VBA | Excel Programming |