Ah!! I see, when I put the headings in the summary and run the macro then that works too. Brilliant!! Thank you so much, you saved me no end of frustration really appreciate it!!