Read Method

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

Description

Reads a specified number of characters from a TextStream file and returns the resulting string.

Syntax

object.Read(characters)

The Read method syntax has these parts:

Part

Description

object

Required. Always the name of a TextStreamobject.

characters

Required. Number of characters you want to read from the file.