Trigger a Power Automate Flow from Excel with Office Scripts or VBA | Excel Off The Grid

  Рет қаралды 22,469

Excel Off The Grid

Excel Off The Grid

Күн бұрын

Пікірлер
@lancer7418
@lancer7418 Жыл бұрын
Marc, you seem to have a good solution for every question I have! Thanks for putting out such helpful and specific tutorials.
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
I’m glad I could help. Clearly you’re doing the same things as me, but a few weeks behind. If you ever get ahead, I’ll come to you for solutions. 😀
@jorgemedina4627
@jorgemedina4627 2 ай бұрын
Hi, greetings from Colombia, you are the best, thank you for having helped me a lot.
@manassehkisame6286
@manassehkisame6286 Жыл бұрын
Am Wowed by the simple yet concrete steps...
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Thank you. 👍
@RicardoJimenezCR
@RicardoJimenezCR Жыл бұрын
A loosely coupled alternative is to have Excel send an email (like to a privated shared mailbox created for this purpose, for example). In the subject you can specify a key text (that gets filtered in PA to activate the flow, so it will only do it with certain emails) in the body of the email you can put all the data you want, in JSON format for example, and then have the PA flow activated when an email arrive to that specific mailbox with the specific subject, parse the JSON and voilá. We've used this many times to trigger PA flows (like from Typeform for example). One benefit is that it can be used offline without Internet (and when you get back online all the flows will be triggered). Another benefit is that you can track and debug the entire solution by simply opening the mailbox from a mail client. PA has a component to parse JSONs so, and Excel a VBA function to send emails, so it's all quite simple. Thank you for your video!
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Presumably you are using Excel Desktop and send the email via Outlook with VBA.
@alvarosaraviamartin5647
@alvarosaraviamartin5647 Жыл бұрын
You answered exactly what i needed..... Thanks!!!
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Glad I could help! 👍
@carolaskolaris6873
@carolaskolaris6873 Жыл бұрын
Thanks so much! What if my company restricted the use of triggering through an URL, is there a similar option to trigger the flow through Excel?
@abdulwahidmeer716
@abdulwahidmeer716 Жыл бұрын
hi,how do you declare the user name in the URL so that take the excel user name who trigger the flow? i am just working on a shared excel sheet and wondering if user name can be variable depending on the user triggering the flow
@ExcelExciting
@ExcelExciting Жыл бұрын
Awesome.. SUPER LIKE !!!
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Thanks Faraz - I think this opens up a lot of new possibilities. I'm still hoping for a proper connection at some point.
@maximilianoezequiellopez9224
@maximilianoezequiellopez9224 2 ай бұрын
Is there a way to do the same but with Power Autometa Desktop?
@ExcelOffTheGrid
@ExcelOffTheGrid 2 ай бұрын
If you have a premium licence you can trigger a Power Automate Desktop flow from Power Automate Online. That is probably the easiest way.
@martinleduc
@martinleduc Жыл бұрын
Great stuff! It's just a shame that this is not available with a Microsoft 365 personal license
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Agreed, maybe one day.
@hannabusse8137
@hannabusse8137 Жыл бұрын
Any thoughts on doing this with PA Desktop. Without a premium license?
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
So you want to run Power Automate Desktop from an Excel workbook? 🤔 Sorry, that’s not a use case that I’ve tried.
@IbrahimNajjar-by2dk
@IbrahimNajjar-by2dk Жыл бұрын
does running Office script requires enabling macros in the excel workbook?
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Scripts are saved in a separate file, and can be run in any workbook. They do not trigger the warning message to enable macros. They are built with modern security in mind and therefore do not have the same risks as macros.
@IbrahimNajjar-by2dk
@IbrahimNajjar-by2dk Жыл бұрын
@@ExcelOffTheGrid Thanks a lot for sharing this, I actively looked for triggering power automate flow from excel solution and today KZbin suggested your video for me! using Script (which i was not familiar with) seems to be the best option for me now.
@jaceksoroko1063
@jaceksoroko1063 Жыл бұрын
I was trying to follow your tutorial, but when I click the link in the excel file it returns the following message: { "error": { "code": "DirectApiAuthorizationRequired", "message": "The OAuth authorization scheme is required. Please add authentication scheme and try again." } } I noticed also "When HTTP request is received" trigger has now additional field above "HTTP GET URL" asking who can trigger the flow. Do you know how this issue could be resolved?
@jaceksoroko1063
@jaceksoroko1063 Жыл бұрын
UPDATE: I found the solution. This additional field "Who can trigger the flow" needs to be set to "Anyone". If this is set to "Any user in my tenant" or "Specific users in my tenant" it will require authentication.
@christopherskyap8985
@christopherskyap8985 Жыл бұрын
Hi Sir, for the office script, I got error if click on run scripts or add button An unexpected error occurred. Close the task pane to try again. however click on the URL generated and paste in B2, and click directly got no issue what could be the possible cause ? Thank you !
@ExcelOffTheGrid
@ExcelOffTheGrid Жыл бұрын
Sounds like a software bug to me. As there is no reason why that would be the case.
How to automate Excel with reusable Office Scripts | Excel Off The Grid
13:54
Do You Need to SWITCH from Excel VBA Macros to Office Scripts?
13:02
Leila Gharani
Рет қаралды 387 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Trigger a Flow from an Excel Button
7:01
How To Excel
Рет қаралды 48 М.
No More VBA. ChatGPT to automates boring work with Office Scripts
6:42
MyOnlineTrainingHub
Рет қаралды 151 М.
Excel Multiple Column Lookups: Which Method is Best?
15:41
Excel Off The Grid
Рет қаралды 4,5 М.
Email or save Excel images with Power Automate | Excel Off The Grid
17:00
Excel Off The Grid
Рет қаралды 8 М.
Better than XLOOKUP? Try SUPERXLOOKUP!
11:39
Excel Off The Grid
Рет қаралды 54 М.
Use This Trick to Automate Any Excel Task (Better Than Macros)
10:53
Kenji Explains
Рет қаралды 129 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН