Hi,

I have used the code that Mark007 very kindly published to create fixed width files.

I need two additions to this really helpful code:

1. If value in a row, column 7 is zero, the row/s need to be removed before the file is written

2. If the value in a row, columns 1, 2 and 5 are the same, then the values of column 7 need to be accumulated and a single line created rather.

If anyone is able to help I would be very grateful.

Thanks,

Stevevb