Visual Basic for Applications Reference

WriteLine Method

See Also    Example    Applies To    Specifics

Description

Writes a specified string and newline character to a TextStream file.

Syntax

object.WriteLine([string])

The WriteLine method syntax has these parts:

Part Description
object Required. Always the name of a TextStream object.
string Optional. The text you want to write to the file. If omitted, a newline character is written to the file.