Functions for I/O to open a file for output to disk.
To write a line to the file.
To close the file.
To e-mail the file as an attachment.
Note: This code assumes you are writing a new file. If you are appending, don't kill the file and change the function (or update to new variation) to do an append instead:
e.g. Open filename For Append As filenum
previous page
|