LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Passing Strucutres from VBA to DLL and back

Hi,

I need to pass a matrix type data structure between Excel VBA and an
external DLL (XLL actually).

Because of the bug in Excel, where a call to
Application.Evaluate("MyXLLFunction()") will actually call my proc twice, I
want to be able to declare the external method in VBA and call it, without
using Evaluate.

This is easy enough with simple types, but I want to be able to return a
more complex data type back and forth, one similar to the Excel SDK's Multi
type, where you can return multiple rows of multiple columns.

Does anyone know the best way of doing this?

Thanks

Mike Davies

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calling a C++ program from Excel 2000 and passing a result from C++ back to an excel spreadsheet ellis kurland Excel Discussion (Misc queries) 3 August 15th 05 04:10 PM
Passing array from 2nd sub back to first sub ExcelMonkey[_190_] Excel Programming 2 March 14th 05 06:09 PM
Passing data back from a form Chris A[_3_] Excel Programming 0 November 27th 03 11:53 PM
Passing data back from a form Taras Excel Programming 0 November 24th 03 04:33 PM
Passing data back from a form Tom Ogilvy Excel Programming 0 November 24th 03 04:27 PM


All times are GMT +1. The time now is 07:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"