IsEmpty Function
Tests if a Variant variable contains the Empty value. The Empty value indicates that the variable is not initialized.
āļāˇāļģāļ āļģāˇāļāˇāļē:
IsEmpty (Var)
āļāļ´āˇāˇ āļŊāļļāˇāļ¯āˇāļą āļ āļāļē:
Bool
āļ´āļģāˇāļ¸āˇāļāˇāļąāˇ:
Var: Any variable that you want to test. If the Variant contains the Empty value, the function returns True, otherwise the function returns False.
āļāļ¯āˇāˇāļģāļĢāļē:
Sub ExampleIsEmpty
Dim sVar As Variant
sVar = Empty
IsDate(sDateVar) REM āļ¸āˇāļ¯āˇâāļģāļĢāļē āļāˇāļģāˇāļ¸ True āļāļ´āˇāˇ āļŊāļļāˇ āļ¯āˇāļēāˇ
End Sub