Hello,
I'm pushing a BOM from DBWorks to an ERP system.
The ERP adapter requires a quote/comma delilmited file in order to process the fields correctly.
I can generate an Excel file with the correct fields from DBWorks - they would appear as such (each space representing a new cell in Excel):
Part_Number Part_Description Manufactured etc...
What I need to do is generate a text file in the following format:
"Part_Number", "Part_Description", "Manufactured"
Getting the commas inserted is no problem since I can save the Excel sheet with the CSV extension.
My question is this - how do I create a macro that automatically adds the quotes to the beginning and end of every cell value. The columns and row sizes may change so I cannot "hard code" the macro for a given set.
Any suggestions would be appreciated since I will have to tackle this problem over the weekend. I would prefer not to spend too much time learning the ins and outs of Excel (Although I will if I have to).
Thanks in advance,
Len