vba

, ( ). , , ? ? , Ubound , , . - Ubound, ?

. , , .

excel vba.

+3
4

, , , .

, . , .

, . - .

, ubound.

, , . .

+3

ReDim Preserve . , UBound . ReDimmed.

+2

, , , "" . , " ".

+1

, , ...

, :

Public Sub test()
    Dim a(1 To 3)

    a(1) = 1
    a(2) = "stuff"

    Debug.Print Application.WorksheetFunction.CountA(a)
End Sub

'2', 'Empty'. ( , Variant , String. String, !) , , , , , , . 2-D , .

, , , .

0

Source: https://habr.com/ru/post/1744346/


All Articles