VBA in Excel 2010: Scripting.Dictionary return value of a function won't pass as parameter to a wrapping function call?

The problem arises from the fact that you use both functions as User Defined Functions (UDFs), i.e. Call them from the cells directly. Excel cannot handle a return of the type Scripting.

Dictionary - and therefore also does not pass this result to your MinTurnsToKill function.

Please remember that Excel expect each function to return 'value' (which is fundamental) while your DictFromRanges returns object. You right, in VBA environment your solution works fine but it breaks the function rules when passed to Excel. Suggestion is quite simple- combine both functions into one which will return value.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions