TextStream.Close Method

Syntax

oTextStreamObj.Close

Description

Closes the current TextStream object.

Rules at a Glance

You shouldn't try to reference a TextStream object that has been closed.

Programming Tips and Gotchas

After closing the TextStream object, set oTextStreamObj to Nothing.

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.