Hey Guys,
I open a file for "Input As" and then close it.
After that open the same file for "Append As"but then I got an error, that the file is still in use or allready open.

Is there a solution to close the file quicker?
This is what I use now:

f = "C:\test.dat"
i = FreeFile
Open f For Input As #i
Close #i

f= "C:\test.dat"
i2 = FreeFile
Open f For Append As #i2
Close #i2

Thanks allready