Post a testable data sample in the form of a zipped Excel worksheet – as well as the desired outcome in the form of a preformatted text block – and I'll take a look.

Here's a handy macro:
But don't use it for this job, because it will alter tabs in the pasted output.