Skip to main content

TextStream.Write method

Table of contents
  1. Syntax
  2. Remarks

Writes a specified string to a TextStream file.

Syntax

object.Write (string)

The Write method syntax has these parts:

Part Description
object Required. Always the name of a TextStream object.
string Required. The text you want to write to the file.

Remarks

Specified strings are written to the file with no intervening spaces or characters between each string. Use the WriteLine method to write a newline character or a string that ends with a newline character.

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>