Hi Stephen
Thanks for your interest
The two functions called by Evaluate are:
Function ValueID(TID As Long, CID As Long, RID As String)
ValueID = ValueId1(TID, CID, Mrow)
End Function
Function ValueX(VID As Long)
ValueX = ValueX1(VID)
End Function
The code that surrounds Evaluate is as follows
For Mrow = 2 To Totrow + 1 'Loops through available RowIDs.
For i = 1 To UBound(ArLst) ' Loops through the attribute names and attribute codes.
Trgt.Cells(1, i) = ArLst(i, 1)
strn = ArLst(i, 2)
Trgt.Cells(a, i) = Application.Evaluate(strn)
Next i
a = a + 1
Next Mrow
At the point it goes into Evaluate
Strn = ValueX(ValueID(3,1,"ROW"))
I don’t know if that helps?
Thanks
Ian
Bookmarks