You could use Python and openpyxl but maybe that is a bit of an overkill … but the necessary functions should be there
Still I point you to two examples