Hi Alex,
When you are saying " an Excel file with all the commands and their locations", do you mean to make all commands appear at the locations you see when hovering cursor on the commands and let them appear in one Excel file?
If so, I'd like to explain that we can only add all commands to the Quick Access Toolbar in one Excel file, by selecting
For current workbook under Customize Quick Access Toolbar, not For all documents (default).

In this way, all commands will be displayed on the Quick Access Toolbar like the picture shows, not under their locations.

To make all commands appear at the locations you see when hovering cursor on the commands, you can go to
Customize Ribbon to add commands to their locations. Please note that the change you make will be saved in Excel client, not one Excel document.
If there is any misunderstanding about your requirement, feel free to post back and correct me.
Regards,
Joanne