View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Transferring ranges to/from arrays

One other thought

an array picked up from the worksheet like that is 1 based. so the first
element is 1,1

myarray(1 to # rows, 1 to # columns)

That has little relevance in your DLL, but at in the argument list, it
might.

--
Regards,
Tom Ogilvy

Jag Man wrote in message
...
Yes, that's what I would assume from C/C++. But, if I hand off inArgs(0,0)
isn't that the same thing?
Yet, VBA doesn't like it. Hmm.

Ed


"Tom Ogilvy" wrote in message
...
You passing a point to the array.

should say:

You are passing a pointer to the array.

--
Regards,
Tom Ogilvy