Replace indices not working on screen switch

Replace indices not working on screen switch

Hi, I'm trying to replace some indices during a screen switch via VBA. In my VBA code i see the indexing variables is showing correct values. Debug.Print (ThisProject.Variables.Item("F2Values[0].DepID").value) Debug.Print (ThisProject.Variables.Item("F2Values[0].VarID").value) ThisProject.RtFunctions.Item("pic_F2TABEL").Start I don't know how to track the issue. I tried to reswitching the screen by closing it and re-open it again. As you can see it still holds the original value from the editor

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