my first post - so please don't shoot me if it goes wrong!
I'd been looking for this for some time now and have seen a number of related queries but no solutions.
I cannot take credit for the whole code here, but I did adapt it to include the text formatting. The possibilities are endless.
Hopefully someone will find this usefull.