cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
C++ and Excel VBA Arrays Dll
C++ and Excel VBA Arrays Dll
Sep 22, 2014 at 9:51pm UTC
newbieme
(22)
Hello Titans Of Programming !
What is the best way to pass a multidimensional array between Excel VBA and C++. I have been reading multiple SafeArray articles but I am not able to find a good solution.
Any simple example and/or tips would be much appreciated !!
Thanks in Advance :)
Last edited on
Sep 23, 2014 at 1:46pm UTC
Sep 24, 2014 at 1:36pm UTC
newbieme
(22)
Seriously..no one?
Sep 24, 2014 at 2:53pm UTC
coder777
(8444)
From googling, this is the best you may get:
http://www.vbforums.com/showthread.php?495753-Passing-2D-Array-from-VBA-to-C
Sep 29, 2014 at 4:01pm UTC
newbieme
(22)
Thanks this solution seems to work great ! Though don't understand what safearrays are meant for :/
Sep 30, 2014 at 6:02am UTC
coder777
(8444)
This has to do with the visual basic memory management and other things. See this:
http://forums.codeguru.com/showthread.php?360894-vb-and-safearray
Topic archived. No new replies allowed.