we have a report in Excel that is generated automatically and saved in OneDrive.
We'd like to create a Flow to automatically copy a range from the Excel file, with its formatting, and paste it as picture within a email body.
Currently this is done manually opening the file, copying and pasting as image...
Is there a way to achieve this?
Hi there. So I know this wasn't the original scope, but I wanted to share a possible alternative...
Rather than trying to automate a screen capture, perhaps consider pushing the report through a different method. Power BI, as an example, allows users to subscribe to reports and dashboards and get regular updates. Here's a link to that:
If your scope doesn't allow for that kind of flexibility, then maybe a UI Flow? Not sure...but my suggestion is to chase this upstream to see if you can change the reporting behavior a tiny bit to make it more accessible.
Keep us posted.
If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.
I doubt you can do this using flow.
Consider creating an Excel macro or add-in to do that.
If you are interested, I have posted an solution to a similar question here: Re: Create flow from Excel and adding image/table - Power Platform Community (microsoft.com).
I'm wondering if you have had a chance to try Office Scripts (with the "Run script" action of the "Excel Online (Business)" connector in Power Automate), as I explained in this post: Re: Create flow from Excel and adding image/table - Power Platform Community (microsoft.com). By using this approach, you should be able to copy the range as an image and include it in the email body to send out.
Feel free to reach out to me if you have any further questions!