Application or Button name

Hello All
Here’s what I am trying to do:

I want to write a script that will open Microsoft Excel and be able to navigate the GUI. To do this I need to be able to find out the name of a Window\Button\or ? so tha tI can send a command to the correct item.

What application\tool will do this for me or how do I do this manually.

Thanks
Chad