Visual Basic for Applications Reference
Sets the position for the next read/write operation within a file opened using the Open statement.
Seek [#]filenumber, position
The Seek statement syntax has these parts:
|filenumber||Required. Any valid file number.|
|position||Required. Number in the range 1 2,147,483,647, inclusive, that indicates where the next read/write operation should occur.|
Record numbers specified in Get and Put statements override file positioning performed by Seek.
Performing a file-write operation after a Seek operation beyond the end of a file extends the file. If you attempt a Seek operation to a negative or zero position, an error occurs.