> Trying to make a structure.?

Trying to make a structure.?

Posted at: 2014-12-18 
String.

Everything in an address is a String. Even zip (postal) codes.

Usually you have 2 variables for the (Street) Address portion, with the second one optional. Even though street addresses may contain numbers, they also contain other text, so String is the only reasonable choice.

Sometimes zip (postal) codes are numbers, but even in the US we have Zip+4, and 12345-1234 is definitely not a number. So you have to use String there as well.

And phone numbers are not numbers either. Use String for them too.

thank you so much you were a big help.

So i'm trying to make a structure with costumer information i dimmed the name as a string as well as the city but what variable type do i dim the address in the structure.

Private Structure CustomerInfo

Dim name As String

Dim address As

End Structure