cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shreymudgal
Frequent Visitor

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

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!

1 ACCEPTED SOLUTION

Accepted Solutions
v-yamao-msft
Community Support
Community Support

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#com...

 

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

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
tfhegdbn
Helper IV
Helper IV

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

44.PNG

v-yamao-msft
Community Support
Community Support

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#com...

 

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

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

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

Thanks, 

Ah I'd not tested it, my apologies.

Anonymous
Not applicable

Hi Scott,

We’re able to convert the file?

Thanks!

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

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.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,119)