Space Function (Visual Basic)
Returns a string consisting of the specified number of spaces.
Required. Integer expression. The number of spaces you want in the string.
|Exception type||Error number||Condition|
Number < 0.
See the "Error number" column if you are upgrading Visual Basic 6.0 applications that use unstructured error handling. (You can compare the error number against the.) However, when possible, you should consider replacing such error control with .
Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)