📜  综述 vba 自定义公式 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:12.444000             🧑  作者: Mango

代码示例1
' VBA Custom formula for round up
Function RoundUp(ByVal Value As Double) As Integer
    If Int(Value) = Value Then
        RoundUp = Value
    Else
        RoundUp = Int(Value) + 1
    End If
End Function