excel表如何应用宏或者函数定义文本框颜色

2025-03-26 12:31:36
推荐回答(1个)
回答1:

  • Function bs(a As Range, b As Range)

  • If a.Value > b.Value Then

  • bs = "合格"

  • Else

  • bs = "不合格"

  • End If

  • End Function