COM Arrays of arrays
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hello, how can I translate VBA-constructs like Array(Array(1, 2), Array(2, 2), Array(3, 1)) to Visual C++? This is important to use the Excel-method "Workbooks.OpenText(..., FieldInfo, ...). Who can help? Thanks Andreas Jäger PMC
Hi Andreas! You must use SAFEARRAYs. You can create a SAFEARRAY where each element is another SAFEARRAY and in this second array each element is integer. Regards, Alex Gorev, Dundas Software. ================== The original message was: Hello,
how can I translate VBA-constructs like
Array(Array(1, 2), Array(2, 2), Array(3, 1))
to Visual C++?
This is important to use the Excel-method "Workbooks.OpenText(..., FieldInfo, ...).
Who can help?Thanks
Andreas Jäger
PMC