Reset Instruction

Syntax:

Reset

Group: File

Description:
Close all open streams for the current macro/module.

See Also: Close, Open.

Example:

Sub Main
  ' read the first line of XXX and print it
  Open "XXX" For Input As #1
  Line Input #1,L$
  Debug.Print L$
  Reset
End
Sub