Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Writes a specified string and newline character to a TextStream file.
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. |
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.