About macro enabled excel files in Excel (Business) in Logic Apps

NishimuraChinatsu-9854 756 Reputation points
2022-09-28T08:04:45.327+00:00

I want to process a macro enabled excel file (.xlsm) in Excel (Business) in the Logic application, but I cannot load the file.

I have selected the get worksheet action in onedrive, but does that still mean I can't read the macro enabled excel file?

245396-image.png

Will the macro enabled excel file be script only?

245483-image.png

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MughundhanRaveendran-MSFT 12,511 Reputation points
    2022-10-04T06:50:50.473+00:00

    Hi @NishimuraChinatsu-9854 ,

    Thanks for reaching out to Q&A forum.

    You can use the Runscript action to load a macro(.xlsm) file from one drive. You can try to start the macro by some external script and it can be passed in the script section. If the VBA code in the macro file is placed in the Workbook_Open() method, then this approach would work.

    Hope this helps! Feel free to reach out to me if you have any questions or concerns.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.