This would be done through iterationânested iteration.
Pseudo-code follows:
Code:
Open a file to receive the output.
Set an int to columns.count, say "iCols"
For each row of the data
iCol = 0
for each column
' I am differentiating here between WriteLine, and Write.
' WriteLine writes the argument, then a "new line" set of char.s.
iCol += 1
If iCol = iCols then
WriteLine CurColumn's_data
' For text data you might want to
' WriteLine """" & CurColumn's_data & """"
' in both parts of the If.
Else
Write CurColumn's_data & vbTab
End If
Next Column
Next Row
Essentiall, you just "roll your own."