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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Anyway to read a xlsm file and copy content to a sharepoint list?

(1) ShareShare
ReportReport
Posted on by 8

I have a marco-enabled excel file in a share point folder. 

Would it be possible to create a flow that can get content of the file and update a list in sharepoint?



Thanks for the help!

I have the same question (0)
  • tfhegdbn Profile Picture
    149 on at
    Re: Anyway to read a xlsm file and copy content to a sharepoint list?

    I did the test, it seems that the Excel online action can only get the contents of the xls or xlsx files.

    44.PNG

  • Verified answer
    v-yamao-msft Profile Picture
    on at
    Re: Anyway to read a xlsm file and copy content to a sharepoint list?

    Hi @shreymudgal ,

     

    As @tfhegdbn  suggested, Excel Online (Business) connector can only get contents of xls and xlsx files. Working with macro-enabled files is currently not supported yet.

     

    There is a similar request on Flow Ideas Forum, please vote the idea at here:

    https://powerusers.microsoft.com/t5/Flow-Ideas/Enable-actions-on-macro-enabled-files/idi-p/59194#comments

     

    In addition, I will help collect and report it as well. PGs will take hot ideas into consideration first in future releases.

     

    Best regards,

    Mabel

     

  • scotth82 Profile Picture
    89 on at
    Re: Anyway to read a xlsm file and copy content to a sharepoint list?

    Hi,

     

    One possible solution is to use the OneDrive connector for converting the file to a new xls file and then use that file for the import into your list.

     

    Thanks

     

    Scott

  • shreymudgal Profile Picture
    8 on at
    Re: Anyway to read a xlsm file and copy content to a sharepoint list?

    Hi @scotth82, How do i convert to xls, the only option I get is PDF. 

    Thanks, 

  • scotth82 Profile Picture
    89 on at
    Re: Anyway to read a xlsm file and copy content to a sharepoint list?

    Ah I'd not tested it, my apologies.

  • Community Power Platform Member Profile Picture
    on at
    Re: Anyway to read a xlsm file and copy content to a sharepoint list?
    Hi Scott,

    We’re able to convert the file?

    Thanks!
  • MichChrdk Profile Picture
    38 on at
    Re: Anyway to read a xlsm file and copy content to a sharepoint list?

    Maybe use powerquery to import table from xlsm to a xls file and use that as the flow source?

    It does insert an additional file update, but you could work that into a macro in the xlsm file.

    Set the flow to trigger on changes in the xls file.

     

    process:

    1: make changes in xlsm

    2: makro in xlsm opens xls file and performs "updateall" - wait X seconds - save and close xls - return to xlsm file

    3: flow triggers on changes in xls file and runs on the content of xls file

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 560 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 347 Moderator

#3
Expiscornovus Profile Picture

Expiscornovus 262 Most Valuable Professional

Last 30 days Overall leaderboard