By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,327 Members | 849 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,327 IT Pros & Developers. It's quick & easy.

passing array from VBA to VB.NET

P: n/a
Hello,

I have some VBA code in Excel, and I have a DLL with some functions I
designed in it. I can call those functions from within VBA - no
problems so far.
Now I want to pass an array (Dim A() as Double) as a parameter to a
function. How do I do this?

e.g.
VBA:
C = MySum(A())
VB.NET DLL:
public function MySum(byval A() as double) as double
Any help is welcome!

Regards,

Jurgen
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.