Return the value of the string expression as evaluated.
Parameter
Description
Expr
Evaluate this string value.
Depth
This integer value indicates how deep into the stack to locate the local veriables. If Depth = 0 then use the current procedure. If this value is omitted then the depth is 0.
See Also
Example
Sub Main Dim X As String X = "Hello" Debug.PrintEval("X") 'Hello A EndSub Sub A Dim X As String X = "Bye" Debug.PrintEval("X") 'Bye Debug.PrintEval("X",1) 'Hello EndSub