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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to create a XLSM f...
Power Automate
Answered

How to create a XLSM file in flow?

(1) ShareShare
ReportReport
Posted on by 98

Hi Folks! 😊

I need to create and email an .XLSM file using Flow and PowerApps.
The data for building the file comes from a call from powerApps, so in the automate I take this data and build a file to send by email and this file needs to be in XLSM.

Has anyone there done something like that?

I will post some images for you to understand what my flow does, it is very simple.



This is my flow:

1) In step one, I receive the data that comes from the power apps and create a file in a document folder in SharePoint.
Untitled.png

 2) In step two, I take this generated file that is in Sharepoint and add it as an attachment in my email and forward it.

222222.png


When I change only the file extension to .XLS or .CSV, it works, but if I put .XLSM it doesn't work. So, how to generate this file in XLSM?

Thank you!

Categories:
  • Verified answer
    jinivthakkar Profile Picture
    4,187 on at

    @carudev I think xlsm file is not yet supported yet. I found a similar thread here.

     

    https://powerusers.microsoft.com/t5/Building-Flows/Anyway-to-read-a-xlsm-file-and-copy-content-to-a-sharepoint-list/td-p/269694

     

    You can post a new idea here : 

    https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/MPAIdeas

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard