cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
andrea4
New Member

Copy Excel Range as Image and Send in email body

Hello,

 

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?

 

Thanks!!

8 REPLIES 8
edgonzales
Super User
Super User

@andrea4 

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:

Subscribe yourself and others to reports and dashboards in the Power BI service

 

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.

-Ed

 

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.

VictorIvanidze
Community Champion
Community Champion

Hi @andrea4 

I doubt you can do this using flow. 

Consider creating an Excel macro or add-in to do that.

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.
meleu
Frequent Visitor

Hi Andrea4,

 

Did you find the solution? I have the same question as yours. 😞

 

Thank you,

Yutao
Microsoft
Microsoft

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).

Hi Meleu,

did you find the solution? if yes, can you please share the way you did?

 

Thank you

vimukthi7262
Regular Visitor

Hi all,

Did you find the solution? I have the same question as yours.

 

Unfortunately, no.
I end up attaching JPG in my email body instead.

Yutao
Microsoft
Microsoft

Hello @meleu , @vimukthi7262 , @pwintwaiphyu ,

 

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!

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,095)