Hi,
How do you get/return the size of a variable or object in
bytes.

Code:
example : 

Public Sub Test
 Dim Name as String
 Dim Value as Long

 Name = "John Black"
 Value = SizeOf(Name)
 
End Sub