Question: vba is array empty check?
Answer: To check whether a Byte array is empty, the simplest way is to use the VBA function StrPtr() . If the Byte array is empty, StrPtr() returns 0 ; otherwise, it returns a non-zero value (however, it's not the address to the first element).