<sigh>
Still fighting it. Taken ages to get the code to return values rather than *KEY_ERR but i got that sorted in the end. Seems it's picky about the way data is entered in to the brackets - if you have 9 dims then you must have 9 variables to hold each part, having one variable to hold the equlivalent text for the whole sequence will not work. Shame, but unless someone else can find a way its all i can do at present.
So, ignoring the way i get the array populated, i now have the following;
Code: Select all
sFormulaEval = Run("DBS", sValue, sDimension(1), sDimension(2), sDimension(3), _
sDimension(4), sDimension(5), sDimension(6), _
sDimension(7), sDimension(8), sDimension(9))
Problem is, its not actually sending anything. Using DBRW works fine, but DBS isn't sending any values. I'm guessing it might be a syntax thing, but documentation is somewhat thin on the ground in this area and i don't really know where to go now

If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet