Xenou,
Thanks for yet another script, however the script that you gave me is bugging out on the following line.
code:
Sheet2.Range("B1").Resize(UBound(a) + 1, 1).Value = Application.Transpose(a)
There is a sheet2 in my workbook and even it I change the sheet name reference to a different sheet is is still bugging out.