Reset Instruction
Syntax
Reset
Group
File
Description
Close all open streams for the current macro/module.
Sandbox
Sandbox mode blocks this instruction.
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
See also
Close, Open