Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

VBA Compiles While Typing - Results in Compile Error and Lockup

$
0
0

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.


Viewing all articles
Browse latest Browse all 1120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>