mscallisto
Technical User
I need to create a text file that surrounds each cell's values with tilde's and separated them with a tab.
my example below currently separates the fields with "|"
what's the syntax to change the "|" with a tab (ascii 13) value
For r = 1 To .Rows.Count
For c = 1 To .Columns.Count - 1
Print #1, "~"; .Cells(r, c); "~"; "|";
Next c
Print #1, .Cells(r, .Columns.Count)
Next r
my example below currently separates the fields with "|"
what's the syntax to change the "|" with a tab (ascii 13) value
For r = 1 To .Rows.Count
For c = 1 To .Columns.Count - 1
Print #1, "~"; .Cells(r, c); "~"; "|";
Next c
Print #1, .Cells(r, .Columns.Count)
Next r