ReadFromFile Method

       

Loads an object from a data file created using the SaveToFile method. Doesn't support named arguments.

Syntax

object.ReadFromFile filenumber

The ReadFromFile method syntax has these parts:

Part Description
Object An object expression that evaluates to an object in the Applies To list.
Filenumber Required. A numeric expression specifying the file number used when loading an object. This number must correspond to an open, binary file.

Remarks

You can save an object to a data file using the SaveToFile or SaveToOle1File methods.