Groups
Groups
Sign in
Groups
Groups
Excel-DNA
Conversations
About
Send feedback
Help
Call VBA function from c++
201 views
Skip to first unread message
Khoo YY
unread,
Dec 27, 2013, 1:29:22 AM
12/27/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to exce...@googlegroups.com
Firstly I (naively) know ExcelDNA allows excel to call functions coded in visual studio.
However now I have two pieces of code, where I will need my vc++ to call functions from VBA... Is that even remotely possible?
Thanks!
Govert van Drimmelen
unread,
Dec 27, 2013, 5:26:53 PM
12/27/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to exce...@googlegroups.com
Hi,
Excel-DNA helps if you want to make add-ins for Excel using .NET (C# or
VB.NET
), but would add extra complications if you just want to use C++.
For C++, these are some popular options you might want to have a look at:
*
http://xlw.sourceforge.net/
*
https://xll.codeplex.com/
*
http://www.planatechsolutions.com/xllplus/
From all of these (and Excel-DNA too), you should be able to call the VBA functions using the xlUDF function in the Excel C API.
The documentation for that option is here:
http://msdn.microsoft.com/en-us/library/office/bb687892.aspx
Regards,
Govert
Reply all
Reply to author
Forward
0 new messages