Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calling an Excel Addin from VBA
Hi there,
Have an excel addin... written in C, that I want to call from within VB. Is this possible or is the only way to do it, to work within excel... put a formula (part of the addin) into a cell, calculate & extract. Thanks Fahad |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calling an Excel Addin from VBA
Fahad,
I don't think you can write an Excel addin in C, as my understanding that an addin is always an Excel workbook, but the sheets are not shown. So within an addin you can do anything you wish to Excel objects, either on one of the sheets of the addin, or of another workbook. What you can do is manipulate an Excel workbook from C using automation. In this instance, you would need to create an Excel object and manipulate that. This would typically be built as a DLL, and linked in to Excel by whoever used Excel, or could be an executable that calls Excel directly. -- HTH Bob Phillips "ABN" wrote in message ... Hi there, Have an excel addin... written in C, that I want to call from within VB. Is this possible or is the only way to do it, to work within excel... put a formula (part of the addin) into a cell, calculate & extract. Thanks Fahad |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calling an Excel Addin from VBA
"ABN" wrote in message ... Hi there, Have an excel addin... written in C, that I want to call from within VB. Almost certainly, but you may need to remap some of the data as the data structures in C differ from those in VB see http://msdn.microsoft.com/library/de...lfunctions.asp Keith |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Calling a .net library from excel | Excel Discussion (Misc queries) | |||
Excel calling WCF service | Excel Discussion (Misc queries) | |||
calling a new function Excel gives me #NAME? | Excel Worksheet Functions | |||
Calling an Excel Addin from VBA | Excel Programming | |||
Calling a function from within EXCEL | Excel Programming |