WriteLine method
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. |
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.