如何让 Visio 形状根据其文本更改行为?

huangapple go评论49阅读模式
英文:

How to let visio shapes change behaviour from their text?

问题

我有一些形状,它们应该根据它们的文本更改行为。

文本字段使用=GUARD(TEXTWIDTH(TheText)) 可以很好地更改它们的高度和宽度。

但是当我尝试像这样更改颜色=THEMEGUARD(IF(LEN(TheText)>3,RGB(255,112,192),RGB(0,112,192))) 时,当您更改文本时什么都不会发生。

关于如何让 Visio 实际运行这个功能,或者我在这里做错了什么,有什么想法吗?

英文:

I have shapes that should change behaviour on the basis of their text.

Text fields change their height and with using =GUARD(TEXTWIDTH(TheText)) just fine.

But when I try to let something change color like this =THEMEGUARD(IF(LEN(TheText)>3,RGB(255,112,192),RGB(0,112,192))) nothing happens when you change the text.

Any ideas on how to get visio to actually run this like it should? Or am I doing something wrong here?

答案1

得分: 2

请尝试添加SHAPETEXT函数

具体语法如下:=THEMEGUARD(IF(LEN(SHAPETEXT(TheText))>3,RGB(255,112,192),RGB(0,112,192)))

如何让 Visio 形状根据其文本更改行为?

我在我的端口检查了这个公式,它有效!

英文:

> Or am I doing something wrong here?

Please try add SHAPETEXT function.

With syntax like =THEMEGUARD(IF(LEN(SHAPETEXT(TheText))>3,RGB(255,112,192),RGB(0,112,192)))

如何让 Visio 形状根据其文本更改行为?

I check this formula at my side, it works!

huangapple
  • 本文由 发表于 2023年7月27日 18:41:21
  • 转载请务必保留本文链接:https://go.coder-hub.com/76778937.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定