ohnedich6
Member
Good day all,
I'm making a Transmitter global object for my displays in Factorytalk View SE and was attemping to use VBA to Replace the underscores "_" & [Topic] name from the tag substitution name in the PLC to a hyphen "-" & no Topic name. I was hoping I could get some guidance as to what I am doing wrong, please see the pictures below. I've tried using "Me.FullName" instead of "DeviceName1.Caption" inside of the Replace function but that did not work either.
ExposeToVBA is set to VBAControl on the Global Object and the Display.
I know, I can setup a String inside of the PLC which would do the same thing.
Thanks everyone.
-Nathan
I'm making a Transmitter global object for my displays in Factorytalk View SE and was attemping to use VBA to Replace the underscores "_" & [Topic] name from the tag substitution name in the PLC to a hyphen "-" & no Topic name. I was hoping I could get some guidance as to what I am doing wrong, please see the pictures below. I've tried using "Me.FullName" instead of "DeviceName1.Caption" inside of the Replace function but that did not work either.
ExposeToVBA is set to VBAControl on the Global Object and the Display.
I know, I can setup a String inside of the PLC which would do the same thing.
Thanks everyone.
-Nathan