A weekly sales report gets emailed to me that I auto format the title and save it to a folder in my onedrive.
I created an excel online macro that deletes columns that are not needed, changes some header text and then selects all to create a table and sort a column.
The script works if i open a raw file and run it. How do i add it to my original flow?
Tried adding the run script card after the apply to each that renames and saves the file, didn't work. need guidance.
Sounds good. Glad to hear you solved the problem! Feel free to reach out to us if you need any further help on Office Scripts!
Oh sorry I solved this on my own. I had to change the input for the run a script action from the email attachment to the “item”. Works well. Now I need to figure out how to move the data to a report
Can you share a bit more about your flow? What actions do you have in it? What errors did you get?
WarrenBelz
146,596
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional