lSize

The size in bytes of the data stored in memory. If you use the SaveArray method to create the file in memory, you calculate the size using the following:

Size = UBound(variant) – LBound(variant) + 1