Export (0) Print
Expand All

Visual Basic for Applications Reference

Visual Studio 6.0

Space Function

See Also    Example    Specifics

Returns a Variant (String) consisting of the specified number of spaces.

Syntax

Space(number)

The required number argument is the number of spaces you want in the string.

Remarks

The Space function is useful for formatting output and clearing data in fixed-length strings.

Show:
© 2015 Microsoft