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