Skip to main content

Input and output keyword summary

Action Keywords
Access or create a file. Open
Close files. Close, Reset
Control output appearance. Format, Print, Print #, Spc, Tab, Width #
Copy a file. FileCopy
Get information about a file. EOF, FileAttr, FileDateTime, FileLen, FreeFile, GetAttr, Loc, LOF, Seek
Manage files. Dir, Kill, Lock, Unlock, Name
Read from a file. Get, Input, Input #, Line Input #
Return length of a file. FileLen
Set or get file attributes. FileAttr, GetAttr, SetAttr
Set read-write position in a file. Seek
Write to a file. Print #, Put, Write #

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>