Your comments

Hi Matt,

This works perfectly now and solves the problem. Many thanks, and really appreciate the speed of the fix,

Thanks
Hi Matt,

I've been trying this feature today and it's not quite exporting right. The first tab is as before. The second tab strips out a lot of the blank cells, but it also strips out a number of the records. It looks like whichever user story is listed first in a theme is also taken out. Where only one user story is present for a theme that also goes.

Otherwise this does the job nicely,

THanks