小编Sug*_*gih的帖子

Excel中的VBA公共用户定义函数

我创建了以下功能:

Option Explicit
Public Function fyi(x As Double, f As String) As String

Application.Volatile
Dim data As Double
Dim post(5)
    post(1) = "Ribu "
    post(2) = "Juta "
    post(3) = "Milyar "
    post(4) = "Trilyun "
    post(5) = "Ribu Trilyun "
Dim part As String
Dim text As String
Dim cond As Boolean
Dim i As Integer

If (x < 0) Then
fyi = " "
Exit Function
End If

    If (x = 0) Then
    fyi = "Nol"
    Exit Function …
Run Code Online (Sandbox Code Playgroud)

excel vba excel-vba user-defined-functions

4
推荐指数
3
解决办法
6万
查看次数

标签 统计

excel ×1

excel-vba ×1

user-defined-functions ×1

vba ×1