I just learned how to copy data in a ADO recordset into Excel File using this link by Si_the_geek.
I also learned some Textfile manipulations from the links of dee-u & Pengate.

Thank you everyone.

Now I am wondering how to transfer the data
i) from a textfile (which is having ":" as delimiter) to access table
ii) from a textfile (which is having ":" as delimiter) to Excel File
ii) from a Excel file to an MS Access Table

I tried using the below code. No data was transferred. So its obviously incorrect
Text to Excel Code:
  1. Dim fNo As Integer
  2.     Dim sTemp As String
  3.     fNo = FreeFile
  4.    
  5.     Open app.Path & "\Text1.txt" For Input As fNo
  6.         Do While Not EOF(fNo)
  7.             Line Input #fNo, sTemp
  8.         Loop
  9.         oSheet.Range("A1").Value = sTemp
  10.         oWorkbook.SaveAs App.Path & "\TestBook.xls"
  11.     Close fNo
I request the members show me how to do the above or point to some tutorial.
Thankyou.