TextStream.WriteLine Method

Syntax

oTextStreamObj.WriteLine (String)

oTextStreamObj

Use: Required

Data Type: TextStream object

Any object variable returning a TextStream object.

String

Use: Required

Data Type: String

A string expression to write to the file.

Description

Writes a string immediately followed by a new line character to a text file.

See Also

TextStream.WriteBlankLines Method

Get VB & VBA in a Nutshell: The Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.