I'm trying to create a pipe delimted file using a text qualifier of double-quotes. I'm trying to use code from the post below but I don't want to read a range of cells. There are 22 variables which I need to export to a file. Some of the variables come from cells in the workbook filled in by the user and the remaining are calculated automatically.
I suppose I could create a sheet and write the variables to the new sheet and read them from there, but I was wondering if there is a way to generate the output file directly from the variables.
http://www.mrexcel.com/forum/showthread.php?t=48756
I need the output file to look like so:
"var1"|"var2"|...|"var21"|"var22"
I suppose I could create a sheet and write the variables to the new sheet and read them from there, but I was wondering if there is a way to generate the output file directly from the variables.
http://www.mrexcel.com/forum/showthread.php?t=48756
I need the output file to look like so:
"var1"|"var2"|...|"var21"|"var22"