Dear professor:
Suggest you start on this page:
Variable.Expression must be set to a valid LEAP expression - i.e., something LEAP would be able to interpret if you typed it into the Analysis View in LEAP. If you want an expression based on multiple Excel cells' values, I'd suggest writing additional VBA code that iterates over the values and concatenates them into a single, valid LEAP expression (e.g., an Interp expression). Then assign that expression to Variable.Expression.
I'm trying to set the expression to a Growth/Interp function, but whenever it is run, there is an error message that there is a type mismatch.
The growth expression is text (a string), so in VB you must wrap it in double quotes like this... = "Growth(3)"