i don't think you can *upload* a file to teams, however you *can* open them with teams:

https://www.google.com/search?q=vba+...icrosoft+teams

I believe you have to store the file somewhere on your network or like sharepoint or something.