Dim x As Tag

nmurray

Member
Join Date
Apr 2014
Location
USA
Posts
90
I have been looking on the internet for VBA examples and variable types, but I can't find anywhere that someone explains what a variable of the type "Tag" is.

Where variables are defined it has

Dim MyTag As Tag

I know you can declare integers and strings here but I can't find a reference to Tag anywhere in VBA datatypes.

It is used in multiple places in an HMI my company has, and I need to make some changes to.

Any useful information or a place to look would be helpful.
 
Check the VBA references (Tools > References in the VBA editor), it's probably a custom data type from the HMI software. You likely need to use something that has the software installed so you have the correct VBA add-ins.
 
@Christoff84

Thanks for the quick reply... I just checked there, there are 6 of the References Selected.

One of them is: RSView Display Client Object Model
I followed the location, didn't see anything there, however in that folder they had another folder named VBA so I opened that and I believe these are the files it is loading into the project that contain data types... however they are .kpr and .exd files notepad will not open, is there a way to open and view them in FTView Studio??? or am I on the wrong path entirely...
 
Scratch that.. you can see them in the Object Browser, under View in VBA Editor.

Thanks a ton for the help!!
 

Similar Topics

Hey guys. Mostly new to this stuff so I apologize if I'm not following proper format. I have 3 working CPU133 /3s. There is a desktop with a...
Replies
2
Views
888
I hope I can explain this right. I have a fuel system that has a fuel cleaning system . I have a calendar with multistate buttons in the...
Replies
2
Views
1,452
I'm using Crimson 3.0 build 640.001 to program a G308. My original design had a LOT of stuff on it and was hard for older eyes to read, so I made...
Replies
14
Views
3,527
I need to zero all the values in this array using rs logic 5000 camera_2_[data]1000 thanks jim cav
Replies
2
Views
1,598
I am trying to clean up a project by creating a UDT that I will reuse, and while I was creating the UDT tags I got to a 2 dimensional array, and...
Replies
6
Views
7,336
Back
Top Bottom