VBADeclaring and assigning strings

Download VBA for free

Remarks

Strings are a Reference type and are central to most programming tasks. Strings are assigned text, even if the text happens to be numeric. Strings can be zero-length, or any length up to 2GB. Modern versions of VBA store Strings internally using a Byte array of Multi-Byte Character Set bytes (an alternative to Unicode).

Related Examples

Assign specific characters within a string using Mid statement