How do you install Microsoft office 2007 on a mac?

You cannot, you need a copy of Office 2008 for Mac.
To install office 2007 you'd need to virtualize it and it's not the easiest thing to do, you lose performances and functionalities.
If you just switched to a Mac sell your Office 2007 copy and buy a copy of Office 2008 for Mac