Dear RomeoV2024,
The For a selected row trigger **** is only applied to the .xlsx file. The macro-enabled file can't be got from the action.
As the macro can only be ran in the Office desktop client, it can't be ran with a cloud flow to populate the results into Teams. To achieve some celll formatting with a script like macro in Excel for the web in the cloud flow, you may use Office Script.
Introduction to Office Scripts in Excel - Microsoft Support
May I know whether the macro is necessary in the file? What result do you want to get via the macro code? If it is necessary, you may try Office Script instead of macro to move forward.
Run Office Scripts with Power Automate - Office Scripts | Microsoft Learn
Thanks for your understanding and effort.
Sincerely
Cliff | Microsoft Community Moderator