Manglemender
Member
This is probably a stupid question but I searched and I've read the F Manual but I still can't figure out how to read or write a tag value in VBA under WinCC 7.0
I can access the properties such as start value, Limits, etc. but although the manual says it can be done, there is no example of reading a tag value or writing one.
I'm hoping someone here may be able to guide me in the right direction.
VBS is no problem but VBA?
This all started with wanting to dynamically set the contents of a combobox. There is an example on the S website for VBS but it doesn't seem to work (cannot .AddItem) and the debugging in the MS script debugger is appaling.
I've used VBA extensively with RSView32 and would like to be able to do the same with WinCC.
Nick
I can access the properties such as start value, Limits, etc. but although the manual says it can be done, there is no example of reading a tag value or writing one.
I'm hoping someone here may be able to guide me in the right direction.
VBS is no problem but VBA?
This all started with wanting to dynamically set the contents of a combobox. There is an example on the S website for VBS but it doesn't seem to work (cannot .AddItem) and the debugging in the MS script debugger is appaling.
I've used VBA extensively with RSView32 and would like to be able to do the same with WinCC.
Nick
Last edited: