Export histogram to Excel csv format

Hello!

Is there any way to export a TH1 histogram into an Excel readable format e.g. csv?

I of course can write a simple script, but a button in the Canvas GUI “Save As…” would be significantly nicer…

Andreas

If you succeed, send us the relevant piece of code. We will add it
to the export procedure.

Rene