web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Copy Excel Range as Im...
Power Automate
Unanswered

Copy Excel Range as Image and Send in email body

(1) ShareShare
ReportReport
Posted on by 2

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!!

Categories:
I have the same question (0)
  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @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 Profile Picture
    13,073 on at

    Hi @andrea4 

    I doubt you can do this using flow. 

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

  • Community Power Platform Member Profile Picture
    on at

    Hi Andrea4,

     

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

     

    Thank you,

  • Yutao Huang Profile Picture
    Microsoft Employee on at

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

  • pwintwaiphyu Profile Picture
    6 on at

    Hi Meleu,

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

     

    Thank you

  • vimukthi7262 Profile Picture
    5 on at

    Hi all,

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

     

  • Community Power Platform Member Profile Picture
    on at

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

  • Yutao Huang Profile Picture
    Microsoft Employee on at

    Hello @Anonymous , @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!

  • jrnieby20 Profile Picture
    2 on at

    Hello @Yutao, I tried the script and had run it successfully. However, the converted image seems cannot wrap some text in a cell unlike how it is wrapped in the excel. 

    Result:

    jrnieby20_0-1677103758425.png

    How it should look like:

    jrnieby20_1-1677103831380.png


    Can you please help me with this?

     

     

  • Yutao Huang Profile Picture
    Microsoft Employee on at

    @jrnieby20 Sorry unfortunately this has been a known issue and we don't have a good solution yet 😢. I'll share any future update in this thread. But for now, we'll probably have to work around it by manually adjusting the width of the cell or inserting line breaks. Thanks for your patience!

     

    [UPDATE]

    Unfortunately, it turned out manually inserting line breaks is not a valid workaround. Apologize for the misinformation earlier.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard