Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

appending 2 text files 1

Status
Not open for further replies.

Wilber007

Programmer
Aug 15, 2001
13
GB
here is the sub that i have got so far:

Public Sub combine_data()
Rem this sub combines are new data with the set txt file

Dim Newline As String

Open App.Path & "\Zipfiles\cutscan.txt" For Append As #1
Open App.Path & "\filesize\new1.txt" For Input As #2

Do Until EOF(2)
Line Input #2, Newline
**need something here**
Loop

End Sub

i am tring to add new1 to the end of cutscan, but as you can see i am missing a line or to, any help would be appreciated!:)

thanx
Will
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top