User Carl Nagle ( posted:

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

Content-Type: text/plain;

The input line should be:

Line Input #1, palletrec

And you should actually use FreeFile and a variable instead of hardcoding #1.