Get a variable value

Get a variable value

Hello,
I would like to get the value of a variable, but ZenOn throws me an "Undefined" error.
That is the code I implemented at this moment.
VBA Code:

Dim Temp As variable
Temp = thisProject.Variables.Item("time_temp").Value()

Thanks for helping.

This is a migrated post! Originally posted on 10.11.2009 by user nblanquart. Please be aware that information can be outdated.