in reply to Re^5: Global substitution and report
in thread Global substitution and report

Yes the second workaround is exactly what I needed

Thanks