A
Avi
Hi,
Could someone please help me out implementing evaluate/eval function
in excel vba.
in the code snippet below, i am navigating through a collection object
and trying to find value of a item based on the key.
For i = 0 To objCollection.Length - 1
Key = "id"
strTemp = "objCollection(" & i & ")." & Key
msgbox Evaluate(Chr(34) & strTemp & Chr(34) )
Next i
Following message box returns text objCollection(o).id, but i want
this to be calculated and show me the actual value.
Thanks in advance.
-Avinash
Could someone please help me out implementing evaluate/eval function
in excel vba.
in the code snippet below, i am navigating through a collection object
and trying to find value of a item based on the key.
For i = 0 To objCollection.Length - 1
Key = "id"
strTemp = "objCollection(" & i & ")." & Key
msgbox Evaluate(Chr(34) & strTemp & Chr(34) )
Next i
Following message box returns text objCollection(o).id, but i want
this to be calculated and show me the actual value.
Thanks in advance.
-Avinash