Search code examples
vbastringtype-conversioninteger

How Do I Convert an Integer to a String in Excel VBA?


How do I convert the integer value "45" into the string value "45" in Excel VBA?


Solution

  • CStr(45) is all you need (the Convert String function)