Maybe I'm trying to do too much with Excel, but I really like it. So here goes...
I'm receiving data in a 2010 excel file. I have to write this data into a data file using a Hex 1F field delimiter. Each record must end with a CRLF.
What I have done is using VBA, concatenated a record's data fields into as a single string containing the Hex character and put it into a cell. Here's a shortened, simple example:
Cells(1, 1).Value = field1 & Chr(31) & field2 & Chr(31) & field3 & Chr(31) & field4 & Chr(31)
Then I write that worksheet to a dos text file (to my understanding dos contains the CRLF at the end of each record).
When I open the resulting file with Notepad, it looks like the delimiters are there (visible squares).
When the third party vendor tries loading the file their system doesn't recognize the field delimiters.
Is it even possible to create a datafile with hex character delimiters from an excel file? If so, what might I be doing wrong?
Thanks in advance.
Bookmarks