View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
XLDweeb XLDweeb is offline
external usenet poster
 
Posts: 1
Default Diff. btw Open [path] For OUTPUT vs. For INPUT


Hi,

Was wondering if anyone could explain difference between:

Open [pathname] For Output As #filenumber
and
Open [pathname] For Input As #filenumber

Equivalently, what is the difference between opening a file in
"Sequential input" mode and "Sequential output" mode? These terms are
used in the VB Help but not defined further.

At first I thought Open [path] For Output means you can only output the
file, not write into it. But then I saw there is another optional
component to the syntax of Open statement which allows definition of
access as Read, Write etc. so I don't see what Output and Input are
defining.

Hope you can shed some light on this.
Thanks.


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/