"1a234567"
"2a987654"
"3b543210"
I tried what you said - The above is what I got with the Export
Delimited. I also tried Export Fixed Width, but it is looking for
"Transfer Type argument"
I think you must mean that it's looking for a Specification Name
argument, since "Export Fixed Width" *is* the Transfer Type argument.
If you don't want the quotes around the values, I don't think you can
use the delimited format. So you'll need to use fixed width output, and
that means you'll need to create an export specification. To do that,
export the query once manually to a text file, and choose Fixed Width
output in the Export Text Wizard. Set up the column widths the way you
want, and when you get to the point in the Export Text Wizard where
everything is specified and you're ready to finish and export the file,
click the Advanced... button to review the specification, and then click
the Save As... button on that dialog and save it with a meaningful name.
Once you've saved the specification, you don't even have to finish the
export.
Go back to your macro, and enter the name of that specification in the
macro's "Specification Name" argument.