I want to do "do loop" in vba, but the condition is that the loop occurs until there is no rows in table where "Quantity" variable is empty. But I don't knwo how to check if there are no rows like that. I tried building a query
(SELECT COUNT(*) AS COUNT FROM Table WHERE Quantity IS NULL)
,
but I don't know how to refer to this "variable" COUNT in VBA. So what I tried to do is :
Do
....
Loop Until Count = 0
Please help!