Closes all files opened with the Open statement.
Reset |
The Reset statement closes all active files that have been opened with Open, and writes all file buffers on the disk.
In this example the Reset statement is used to close all open files and write their buffers on the disk. Note that the FileNumber variable of the Variant type is used as string and number at the same time.
Dim FileNumber For FileNumber = 1 To 5 ' Repeat loop 5 times. ' Open file for writing. FileNumber is added |
See Also |
Close Statement, End Statement , Open Statement |