cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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
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

Highlighted
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

Highlighted

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

Highlighted

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

Thanks, 

Highlighted

Ah I'd not tested it, my apologies.

Highlighted

Hi Scott,

We’re able to convert the file?

Thanks!
Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (7,909)