TM1 Formulas not returning values on macro enabled excels
Posted: Tue Jun 12, 2012 1:44 pm
Hi All ,
We are facing an issue in macro enabled tm1 excel templates. The problem is tm1 formulas sometimes are not returning any value . For ex:
the following macro has DIMIX & DTYPE formula .
The above code is working fine for almost 90% of runs but it is failing for the rest 10% . There is no error message from TM1 . We are unable to give this to client because of this 10 % fails.
I appreciate your response .
We are using tm1 9.5.1 & ecxel 2003 .
Thanks & Regards
Anoop
We are facing an issue in macro enabled tm1 excel templates. The problem is tm1 formulas sometimes are not returning any value . For ex:
the following macro has DIMIX & DTYPE formula .
Code: Select all
If Application.Run("DIMIX", dimensionName, Sheets("Cover").Range("Z" & i)) = 0 Then
Error_Count.Add CellHeader & " - " & Sheets("Cover").Range("Z" & i)
Error_Str.Add "Element doesn't exist in Dimension"
Else
If Application.Run("DTYPE", dimensionName, Sheets("Cover").Range("Z" & i)) = "C" Then
Error_Count.Add CellHeader & " - " & Sheets("Cover").Range("Z" & i)
Error_Str.Add "Data cannot be loaded to the Consolidated Element"
End If
End If
I appreciate your response .
We are using tm1 9.5.1 & ecxel 2003 .
Thanks & Regards
Anoop