View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
John[_94_] John[_94_] is offline
external usenet poster
 
Posts: 19
Default Other Basic conversion to vb

I am old Power Basic programmer. (In DOS)

to open file and write to it looked like this:

Open "filename" as #1 for output as (then you select the type of file
you want)

then to output to that file you use print... like

Print #1, whatever

When your done you use close #1


What is the vb equivalent? How do you open a file, tell what kind it is
then write to it and close it?

I've looked in the help files under open, file, close, & save and
haven't found it.

Thanks

John