When opening documents in Microsoft Teams you can determine whether those open in desktop apps (Excel, Word, etc...) or in the Teams document viewer. My preference is always the desktop application so I changed my settings like this:
- Click the ellipses in the top bar in Teams, Then Settings
- In Settings click "Files"
- Change the File open preference to "Desktop App"