M
Mark Anderson
Hi,
I'm using Excel X and am having difficulty in finding simple clear
instructions on returning values from VBA to AS - or vice versa. I need
to iterate a range an use each cell value to write to another app.
Either I need a VBA routing to pass the cell value to an AS script and
receive a variable back from the script (as result of a call to another
app) as this must be written into a different column/same row of the
source XL sheet. Alternatively I can start in AS, call Excel, get the
VBA to pass out the cell value and then I return the result value.
Either way, I'm floundering for examples.
Normally with an AS script or handler, I'd pass in a variable with
global (or wider scope than the target script). Here I need the script
to expressly return a value to VBA. This exchange process will iterate
about 3,000-4,000 times when run.
Any pointers?
TIA
Mark
I'm using Excel X and am having difficulty in finding simple clear
instructions on returning values from VBA to AS - or vice versa. I need
to iterate a range an use each cell value to write to another app.
Either I need a VBA routing to pass the cell value to an AS script and
receive a variable back from the script (as result of a call to another
app) as this must be written into a different column/same row of the
source XL sheet. Alternatively I can start in AS, call Excel, get the
VBA to pass out the cell value and then I return the result value.
Either way, I'm floundering for examples.
Normally with an AS script or handler, I'd pass in a variable with
global (or wider scope than the target script). Here I need the script
to expressly return a value to VBA. This exchange process will iterate
about 3,000-4,000 times when run.
Any pointers?
TIA
Mark