ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Diff. btw Open [path] For OUTPUT vs. For INPUT (https://www.excelbanter.com/excel-programming/282847-diff-btw-open-%5Bpath%5D-output-vs-input.html)

XLDweeb

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/



All times are GMT +1. The time now is 06:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com