根据标签的值更改字体大小 [英] Change of font size depending on value of a label

查看:142
本文介绍了根据标签的值更改字体大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我对OrgChart插件有第二个问题,但更为一般。

I am having a second question for the OrgChart add-in, but more general.

这是:有没有办法(VBA?)来改变标签的字体大小,具体取决于该标签的价值?

This is: Is there a way (VBA?) to change the font size of a label, depending on the value of that label?

一个例子来说明:查看"经理"的标签:如果这是"经理a",那么"..."的字体大小是"经理"。功能"应该是12pt。如果"经理"的值是"是"管理器b",然后是"功能"的值的
字体大小。应为1pt。 "经理"和"功能"是任何员工的标签。

An example to illustrate: looking at the the label of "Manager": if this is "manager a", then the font size of the value of "Function" shall be 12pt. If the value of the "Manager" is "manager b", then the font size of the value of "Function" shall be 1pt. "Manager" and "Function" are the labels of any employees.

再次提前谢谢

推荐答案

关于如何使用VBA更改标签的大小,

about how to use VBA to change the size of label,

请在MSDN论坛中发布:

please post it in MSDN forum:

http ://social.msdn.microsoft.com/Forums/en-US/home

http://social.msdn.microsoft.com/Forums/en-US/home


这篇关于根据标签的值更改字体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆