How to get a current value of variable that not displayed in the runtime.

How to get a current value of variable that not displayed in the runtime.

Hi, All

i am using a zenon 7.10.

I want to get a current value of variable via vba.

I found it in the manual.

******
var_val = thisProject.Variables.Item(i).Value
******

It can get a value of variable when display in the runtime (screen).

but, no data when the variable is not displayed in the runtime.

So, I need " how to get a current value of variable that not displayed in the runtime via VBA ".



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