VBAConverting other types to strings

Download VBA for free

Remarks

VBA will implicitly convert some types to string as necessary and without any extra work on the part of the programmer, but VBA also provides a number of explicit string conversion functions, and you can also write your own.

Three of the most frequently used functions are CStr, Format and StrConv.

Related Examples

Implicitly convert a byte array of multi-byte-characters to a string