Collabora Office 24.04 Help
Tests if a Variant variable contains the Empty value. The Empty value indicates that the variable is not initialized.
IsEmpty (Var)
Boolean
Var: Akákoľvek premenná, ktorú chcete testovať. Ak premenná obsahuje prázdnu hodnotu, potom funkcia vráti True, v ostatných prípadoch vráti False.
Sub ExampleIsEmpty
Dim sVar As Variant
sVar = Empty
Print IsEmpty(sVar) ' True
End Sub