Solved

TAB SEPERATED TEXT FILE

Posted on 1998-09-02
1
155 Views
Last Modified: 2010-04-30
I need to create a text file.  Can you show me code from start to finish.  It needs to be these numbers sent to a text file without quotes and seperated by a tab.  EG.

1 tab 3 tab 4 tab 5 6 tab7 tab 8 tab 9 tab 10
11 tab 12 tab 13 tab 14 tab 15 tab 16 tab 17

Etc How do I do this?

0
Comment
Question by:DAVIDH
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
VBDesigns earned 40 total points
ID: 1432646
Dim iFF as Integer
Dim iLoop as Integer

iFF = FreeFile

Open "c:\FileName.text" for Output as #iFF
For iLoop = 0 to (count-1)
    Write #iFF, , (cStr(iLoop) + Chr(9)) ' vbTab
Next iLoop

Close #iFF
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month7 days, 2 hours left to enroll

622 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