I don't believe this can be done via the UI in Excel 2007. But Excel 2010 and later you can do this by right clicking the ribbon and clicking "Customize Ribbon"
For example, here is how it is done in Excel 2016
There are more advanced ways of customizing the ribbon in Excel 2007, but it is very involved and will require some coding, as seen here