FreeFile Function |
No
FreeFile[(rangenumber)]
rangenumber
Use: Optional
Data Type: Variant
Specifies the range of numbers from which the next available file number is selected.
An integer representing a the next unused file number.
Returns the next available file number for use in an Open statement.
You can change the range of numbers used by FreeFile by supplying a rangenumber argument, as follows:
rangenumber | File Number Range |
---|---|
0 (or None) | 1–255 |
1 | 256–511 |
Get into the habit of always using FreeFile to obtain a file number to use in the Open statement: you can't go wrong!