Resetting an Input

seantheduke
02-21-2008, 11:14 PM
quick question: how do you reset an input # command (open "file" for input as #)?

thx in advance

DougT
02-22-2008, 01:02 AM
Normally you'd use the FreeFile Function. For example

Dim intFile As Integer
intFile = FreeFile
Open "file" For Input As intFile
Input #intFile, strData
Close intFile
intFile = FreeFile
Open "anotherFile" For Input As intFile
etc

seantheduke
02-23-2008, 10:13 AM
works ty!

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum