I'm a new PI user, but experienced with VB and VBA. I have a PI display to which I want to add some VBA code (to be executed by buttons on the display). When I start to enter the VBA code, it tries to compile the code before I finish typing; this results in an error popup (compile error). But when I click OK in the popup, it comes right back up again. There is no way to actually fix the code. It doesn't matter what I type, it could be as simple as "sub" - then if I pause a little, the error message pops up. Anybody have any idea what is going on? This makes VBA totally unusable.
↧