Function test(a As Integer)'构造函数名字为test参数为a且为int型
  If a >= 90 Then
     Debug.Print "优秀"
     test = "优秀" '赋值到单元格,跨表依然适用
  ElseIf a >= 60 Then
     Debug.Print "及格"
     test = "及格"
  Else
     Debug.Print "不及格"
     test = "不及格"
  End If
 
End Function

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-22
  • 2021-05-29
  • 2021-12-24
  • 2021-07-07
  • 2021-06-26
  • 2021-12-19
相关资源
相似解决方案