*RECALC_ Error in dynamic Form
Posted: Thu Apr 19, 2012 8:07 am
Hi everyone,
I'm currently working on TM1 input sheets that use a large array of DBRW formulas for data entry and drop-down-boxes to select dimension elements for filtering:
Where AAAA is the name of a dimension element selected through the drop-down-box and XXXX, YYYY, ZZZZ are names of fixed/constant dimension elements.
My event handler looks (simplified) like this:
Although I would expect this to work, when I select a value in the drop-down-box and the above event handler gets executed, my DBRW cells are filled with "*RECALC_9999" messages (with differing numbers) instead of values from the cube.
Can anyone give me a hint where I might look for the problem or possibly even a solution?
EDIT:
Software Versions:
Martin
I'm currently working on TM1 input sheets that use a large array of DBRW formulas for data entry and drop-down-boxes to select dimension elements for filtering:
Code: Select all
$A$1="AAAA"
$A$2=IF($A$1="ABC";"YYYY";"ZZZZ")
$A$3=VIEW("server:cube";"!";"!";$A$1;$A$2)
$A20="XXXX"
B$19=YEAR(TODAY())-1
B20=DBRW($A$3;$A20;B$19;$A$1,$A$2)
My event handler looks (simplified) like this:
Code: Select all
Public Sub cmbInput_change()
wsWorksheet.Range("$C$1").Value = sNewValue
wsWorksheet.Calculate
Application.run "TM1RECALC1"
End Sub
Can anyone give me a hint where I might look for the problem or possibly even a solution?
EDIT:
Software Versions:
Kind regardsTM1 9.5.2 Client 32bit
Excel 2010 32bit
Windows 7 64bit
Martin