Solved

write lines to a file

Posted on 2000-04-06
1
138 Views
Last Modified: 2010-05-02
How do you write lines to a file and then move on to the next line?
i.e i want to write the following
put #num,,line1
and then move on to the next line.
many thanks
0
Comment
Question by:ghanlon
1 Comment
 
LVL 18

Accepted Solution

by:
deighton earned 50 total points
ID: 2689156
open "file" for append as #1
print #1,"line 1"
print #1,"line 2"
close #1
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Visual Basic Excel Formatting error 4 102
Put text in a picture ASP.NET C# 2 56
How to compare ms sql hashbytes results within vb6 5 73
Zip Folders Using Chilkat Routines 1 36
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now