--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/ccd12085-80d3-4a8a-b60c-e9e7cd93eecfn%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Excel-DNA" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/exceldna/GjPkPiTNamE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to exceldna+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/CABCjBXNiVQyizoYaRg6sjnR_bV2BF9E54qPXtSx0cy53GYsW2A%40mail.gmail.com.
To get the parameter values you show, you can call the function from the sheet as
=Test("A1:B2", "C1:B2")
There are indeed ways to get an “ExcelReference” object as the argument value, but that would never happen if your parameter has type ‘string’ and needs a special attribute on the parameter too.
None of this has changed between Excel or Excel-DNA versions.
-Govert
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/CACznF5RkNL1%2BViy7tpPO-QeC7tLo_L_ux7rsmON1epQHKC9P9Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/013401d8f47b%245f2f4dc0%241d8de940%24%40gmail.com.
One thing that changed with newer Excel that might be affecting you, is the ‘dynamic arrays’.
Functions that return array results will now ‘spill’ over many cells.
It’s a big topic – but you’ll find a lot of information on the web.
If you can make a small add-in and matching workbook that you can post on GitHub or somewhere, which works under old Excel and not under new Excel, then I can have a look.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/CACznF5RTe608xMQ_n0SqezvuLHX5GPieRgeWULCdRqhrsmp32w%40mail.gmail.com.