C
Christian Lehmann
Hallo,
imagine that a dynamic variable has been specified with the statement:
dim feld() as string
dim z as integer
z shall be the variable to store the size of the dynamic variable. During
the runtime of the program the dynamic variable "feld" is adjusted with the
statement:
redim preserve feld(z)
Is there any possibility to transfer this variable to
1) another VBA-Function or VBA-Subroutine? (in C++ those fields are
transferred with the help of pointers, is there a similar possibility in
VBA?)
2) an external funktion that has been added by "declare" and uses C++ code.
(I use MS Visual C++ 6.0).
I do not want to use global variables.
I apologize for my English and say thank you very any support in advance!
Greetings,
Christian
imagine that a dynamic variable has been specified with the statement:
dim feld() as string
dim z as integer
z shall be the variable to store the size of the dynamic variable. During
the runtime of the program the dynamic variable "feld" is adjusted with the
statement:
redim preserve feld(z)
Is there any possibility to transfer this variable to
1) another VBA-Function or VBA-Subroutine? (in C++ those fields are
transferred with the help of pointers, is there a similar possibility in
VBA?)
2) an external funktion that has been added by "declare" and uses C++ code.
(I use MS Visual C++ 6.0).
I do not want to use global variables.
I apologize for my English and say thank you very any support in advance!
Greetings,
Christian