Assigning strings with repeated characters

Download vba eBook

Remarks

There are times you need to assign a string variable with a specific character repeated a specific number of times. VBA provides two main functions for this purpose:

  • String/String$
  • Space/Space$.

Related Examples

Stats

20 Contributors: 1
Monday, July 25, 2016
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook