Dear all,
I try my first steps in Visio (2010) programming and need some support..
I declared some props behind a line mastershape. One prop is named "Funktionsart". Depending on the value behind this prop the style of the line should change..
The Code in the shapesheet.lineformat is:
=IF(Prop.Funktionsart="Schädliche Funktion","4","1")
This works exaktly one time.. but not after changing the "Funktionsart" back to another value..
Perhaps it is simple? What is my mistake?
Thank you in advance for your support..
Kind regards, Bernd
Hi,
for compare strings use STRSAME function (https://msdn.microsoft.com/en-us/library/ms425572(v=office.12).aspx)
QuoteIF(strsame(Prop.Funktionsart,"Schädliche Funktion"),"4","1")
:) Works - Thank you very much !!