👩‍💻 How to use Office Scripts in Excel & Power Automate

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024

ความคิดเห็น • 203

  • @KevinStratvert
    @KevinStratvert  2 ปีที่แล้ว +1

    🏫 Learn the fundamentals of Excel in just 2 hours: kevinstratvert.thinkific.com
    ⏭ Watch next - playlist with all my free tutorial videos on how to use Excel: th-cam.com/play/PLlKpQrBME6xLYoubjOqowzcCCd0ivQVLY.html

  • @ameriknu84
    @ameriknu84 3 ปีที่แล้ว +21

    Since we are working everyday it excel, maybe you can showcase power automate or power automate desktop on how to build flows to copy data from one excel to another, delete row/columns update pivots, save and send via email as attachment. That will be amazing

  • @derekcanmexit
    @derekcanmexit 3 ปีที่แล้ว +7

    It's amazing what Microsoft can do to help automate one's workflow -- very curious to learn more!

  • @VonKrause
    @VonKrause 3 ปีที่แล้ว +5

    This channel is really helpful it should get more attention. I hope you will reach 1 mill some day

  • @gajabathiarjuntg2390
    @gajabathiarjuntg2390 3 ปีที่แล้ว +5

    Great video Kevin. Never heard of this word Office Scripts but you've now explained Office scripts are useful to automate your day-to-day tasks and how it works. Thanks Kevin 😀

  • @sohitthakur6660
    @sohitthakur6660 3 หลายเดือนก่อน +1

    Amazing!
    I was new in Office Scripts and understood in one go Thanks!

  • @Simon-vc1wk
    @Simon-vc1wk 3 ปีที่แล้ว +10

    Might be best to convert sample dataset to a table, that way if new rows are added your profit column calculation formulae won't be impacted.

  • @gmcguy
    @gmcguy 2 ปีที่แล้ว

    Thanks!

    • @KevinStratvert
      @KevinStratvert  2 ปีที่แล้ว

      Thanks so much! Much appreciated 🙏

  • @maheshkakar2258
    @maheshkakar2258 5 หลายเดือนก่อน +1

    Hi Kevin, your video are very interesting with simple and to the point explanation.
    Thank you for your video which help us to understand this excel with interest.

  • @AmyWharton
    @AmyWharton 3 ปีที่แล้ว +4

    Hi Kevin. This is great!!! I'd love it if you would do videos showcasing more advanced applications of Power Automate and Office Scripts. Thanks so much!

  • @davidadams421
    @davidadams421 3 ปีที่แล้ว

    Seems like Office Scripts is the love child of: Macros + Office VBA + Nice User Interface = Office Scripts.

    • @adastra79
      @adastra79 3 ปีที่แล้ว

      I suppose this is a good thing.

  • @prokorshopal4865
    @prokorshopal4865 3 ปีที่แล้ว +1

    0:05 - Hi Kevin! 👋
    24:53 - 238th thumbs up from me! 👍 Cheers!

  • @JennTheWriter
    @JennTheWriter 2 หลายเดือนก่อน

    What a great tool! Love it and Power Automate too! Thank you for a great explainer video. :)

  • @jameszhou162
    @jameszhou162 3 ปีที่แล้ว +4

    great stuff Kevin! one thing i must say is that you got really good voice to deliver the training. normally i cannot bear any vid over 15 min, but this 25 min, it felt pretty short. if you got any courses available in udemy or elsewhere, please let me know. thanks.

  • @ashokanselliah9571
    @ashokanselliah9571 2 ปีที่แล้ว

    Very.much interesting. I will start today itself and it will save tons of time. Many thanks Kevin for your invaluable information in this video

  • @itsamazing22
    @itsamazing22 3 ปีที่แล้ว

    I never thought you can program in Microsoft office this is just very useful to me

  • @canirmalchoudhary8173
    @canirmalchoudhary8173 3 ปีที่แล้ว +4

    Very insight tutorial on Office Script

  • @anwarkrg9292
    @anwarkrg9292 11 หลายเดือนก่อน

    Hi Kevin, thanks for sharing this video. Can you please advise how to look up data in the active worksheet from another worksheet and how to put in the flow.

  • @maaloufcharbeljoe8910
    @maaloufcharbeljoe8910 3 ปีที่แล้ว +2

    Beautiful video, Thank you Kevin Stratvert & You are the best

  • @corochena
    @corochena ปีที่แล้ว

    Very nice intro video about Office Scripts!

  • @jeffkerr7038
    @jeffkerr7038 3 ปีที่แล้ว +1

    That is pretty cool. Thanks and keep them coming.

  • @chrisr3674
    @chrisr3674 3 ปีที่แล้ว +1

    Thanks you kevin for this video you are the best youtuber

  • @adelle1441
    @adelle1441 3 ปีที่แล้ว

    i am so hooked watching your vids

  • @mdrahmathussain3224
    @mdrahmathussain3224 2 หลายเดือนก่อน

    Thanks kevin for this video!!. I have a query that can we run macro script using power automate cloud flow only directly or indirectly??

  • @Rizwan1875
    @Rizwan1875 3 ปีที่แล้ว

    This is exactly what I was looking for... 😍👏

  • @newmandoss
    @newmandoss 3 ปีที่แล้ว +1

    Yes, it's very useful, its level more than macro, but a lot to learn for using this😁

  • @RupaliDasp
    @RupaliDasp 4 หลายเดือนก่อน

    Hi Kevin, can I perform the recording on the desktop version, save the file online, and then perform power automation?

  • @elsym613
    @elsym613 8 หลายเดือนก่อน

    Hi @Kevin!
    Thank you very much for a great video! I plan to use this at work :-). Can you pls show how can we change a range. For example you bolded the first column A4:A9. If my range changes everyday, how can I say rage A2: A “end”of the row? Thanks a lot and you are the best! Cheers, E.

  • @omarel5
    @omarel5 ปีที่แล้ว

    Great video, thank you! I was wondering if it's possible to use the script to refresh Power Query or DAX queries?

  • @nurulnajwasafie2508
    @nurulnajwasafie2508 3 ปีที่แล้ว

    This is fun!!! thanks for the content. Looking forward for more from you :D

  • @chulakapitigala5147
    @chulakapitigala5147 2 ปีที่แล้ว

    Thanks a lot Kevin, Can you give a guide to Script Lab as well, It works in desktop versions as well..

  • @argyrodriguez5458
    @argyrodriguez5458 ปีที่แล้ว

    Great Video. I need to use Power Automate calling an Officescript that would pivot a dynamic table. The Original table created by PowerAutomate has Year-weeks on the rows and sme Student info ( attendance) on the columns. I need to pivot the table, so that the Year-weeks ( changing every year) are columns and the rows are Student plus attendance. I have implemented this scenario using SSIS Packages and also calling a Script but now I am converting the SSIS package to a PowerAutomate flow using cloud data. Do you have a video or an example over how to achieve this? Thanks

  • @dougtvedt890
    @dougtvedt890 3 ปีที่แล้ว +2

    Great video, Kevin! Thank you very much! As someone that has several repetitive monthly reports to do, I've been seeking a way to automate them for a long time. I've developed a lot of macros to help with automation, but was unfamiliar with Scripts until this video. My question is how to use both macros and scripts to completely automate this process.

  • @CarylVanessa
    @CarylVanessa ปีที่แล้ว

    Thank you much Kevin! 🥂

  • @realbeetlejuice
    @realbeetlejuice 3 ปีที่แล้ว +3

    holy crap, this is brilliant.

  • @menschnars
    @menschnars 3 ปีที่แล้ว +2

    Another gem! Keep up the good work!

  • @anjukaul4477
    @anjukaul4477 2 ปีที่แล้ว

    Hi Kevin. This was a great introduction to Office scripts. Please suggest if there is a way to run these scripts on desktop files

  • @Interesting-AF
    @Interesting-AF 3 ปีที่แล้ว +1

    Hey Kevin, great video. As an insider (I know, not any more), any idea when Microsoft will support Excel Online auto refresh connections?

  • @wannesbrawl610
    @wannesbrawl610 3 ปีที่แล้ว +1

    Hey Kevin, I would like to thank you first for all your videos, tutorials and all helpful stuff your are sharing. May i do a request? I m trying to send PDF files to one email address. I would like to use Power Automate or mailmerge. I followed your helpful tutorial (how to send mails with attachment with mailmerge) with succes! Do you have any suggestions how to do this? The title of the mails is the name of the pdf file, there has to be no Body text, maybe just the word archive on the titel as prefex for each mail. Thanks in advance! Keep the good work
    Greetings Simo

  • @gracechurchmiltonontario3902
    @gracechurchmiltonontario3902 ปีที่แล้ว +1

    Great video and it could help with some of our processes. But our organization has a mix of Business Premium and Business Basic accounts. Only the Business Premium accounts have access to automate in Excel. If a Premium user creates a script for a spreadsheet and shares it with a Basic user with full edit permissions, would the Basic user be able to run the scripts?

    • @arguetlam2
      @arguetlam2 ปีที่แล้ว

      Same question here. Got any info about this already? In my team we all have basic 365 so we are wondering if upgrading just one license to make scripts will allow other users with access to the workbook to run them (for example, making a button that registers data from a userform into a database so that every member in the team can use it). Thanks!

  • @emilycanada7903
    @emilycanada7903 3 ปีที่แล้ว

    You looks like my little brother. Love your video, very high quality

  • @genesioz
    @genesioz 2 ปีที่แล้ว

    Nice basic presentation. I would like to know what I can't do with Office Scripts compared to VBA on the desktop. For example, can I clear filters when a user exits from Excel?

  • @stlaurent26
    @stlaurent26 ปีที่แล้ว

    Kevin, you are awesome!

  • @WHY-s6l
    @WHY-s6l ปีที่แล้ว

    HI Kevin, I love your videos, but why I can not see the automate tab in my office 365? neither in desktop or web

  • @markfeodoroff7303
    @markfeodoroff7303 2 ปีที่แล้ว

    Great video and very easy to follow. ExcelScript seem to have lots of capability working inside a workbook. I need to export/print/save the first worksheet to a PDF. Does ExcelScript's capabilities extend to file handling?

  • @digigoliath
    @digigoliath 3 ปีที่แล้ว +2

    Awesome!! TQVM!

  • @dorraboughzala7639
    @dorraboughzala7639 3 ปีที่แล้ว

    Thank you for sharing this. Please do you know if we can insert multi select drop down list in Excel web? I can't find an answer ou there :/

  • @element74
    @element74 ปีที่แล้ว

    what options do ppl have who own the 2021 office version (not 365)? can you use timed script that run weekly or daily?

  • @shishirjakhmola5104
    @shishirjakhmola5104 3 ปีที่แล้ว +2

    Nice!
    Thanks Kevin.

  • @krishj8011
    @krishj8011 2 หลายเดือนก่อน

    awesome tutorial..

  • @janicemendoza376
    @janicemendoza376 9 หลายเดือนก่อน

    Great tutorial! I am getting an error of 'The file format is not recognized. Please check that the selected workbook is valid.
    clientRequestId: d2ded74b-3b89-4ebc-a5dc-b3cdde83738e.' The Excel file is .xlsx saved in the correct SP library. When running the script outside of Power Automate, works perfectly well. Thanks!

  • @tejassripad1170
    @tejassripad1170 2 ปีที่แล้ว

    Hi Kevin..
    Thank you for the above guide, I want to merge multiple excel files existing in share point document folder to one Master file and each time new file is updated in share point folder Flow need to pick up the latest excel file & copy to my Master file. Can you please help.

  • @poqwieu
    @poqwieu 3 ปีที่แล้ว +1

    Hi Kevin, is there a way to save this into a new workbook with a dynamic name? or to create a new workbook using office scripts? Thanks!

  • @brianzhu9308
    @brianzhu9308 3 ปีที่แล้ว

    Very useful video! I have some source data in text file that I need to distribute to other teams in excel file using automate on a daily basis. Do you know if there is a way to convert text file to excel using the script? Thanks

  • @maradying6119
    @maradying6119 3 ปีที่แล้ว

    Thanks Kevin. How do I get "Automate" to the excel online? I use Microsoft 365 family.

  • @francescocotroneo8203
    @francescocotroneo8203 2 ปีที่แล้ว

    Hi Kevin. Very clear introduction. I would like to insert data from an Excel online spreadsheet to a Word online document (I do non use desktop office). Is that possible? In word online I do not see the developer tab and do not know how to activetate it or if it's possible to activate it. Thanks for any suggestion.

  • @ManojKumar-zn2gf
    @ManojKumar-zn2gf ปีที่แล้ว

    Great vedio Kevin, I have the files in sharepoint server instead of onedrive. Is it possible to run office scripts for files which is present in sharepoint server using power automate flow? When I for the files present in onedrive it worked but not for files present in sharepoint. I would be better if I got calrity on this. Thanks in advance!

  • @coldplay5467
    @coldplay5467 3 ปีที่แล้ว +1

    @Kevin S. is there a way to migrate Excel VBA code into Office Scripts?

  • @AnwarHussainFaruqh
    @AnwarHussainFaruqh ปีที่แล้ว

    it is a great illustration and very enlightening dear @KevinStratvert !
    Thank you so much !
    I just wanted to know, how we can get data ( text, numbers and some pictures ) from the available pdf documents and create new Word documents as per our conditions ( if, then, Loop) 😊
    Could you please suggest a way out ?
    Appreciate your support !

  • @tpeiNNN
    @tpeiNNN 2 ปีที่แล้ว

    can u make a tutorial on how can i give permision on users who can edit my worksheet per selected cell range like in google sheet you can select and restrict users what cells they can edit and cannot. thanks in advance

  • @lisabarsalona7585
    @lisabarsalona7585 3 ปีที่แล้ว

    Great video. Thanks. Can office scripts connect to SQL databases to run stored procedures? I have VBA written and need to convert to office script for web based excel users. Thanks in advance.

  • @johnborg5419
    @johnborg5419 ปีที่แล้ว

    Hi Kevin. I do not have the Automate Tab on my version. Can you give me some ideas please. I am in Office Insider.

  • @aradhyamudigonda4513
    @aradhyamudigonda4513 3 ปีที่แล้ว

    Can we use Power Automate to export sales funnel charts created in Excel for multiple categories/brands so that they all appear in one slide?

  • @christophesanchez8654
    @christophesanchez8654 3 ปีที่แล้ว

    Excellent. Thanks

  • @Ricocase
    @Ricocase 3 ปีที่แล้ว

    Cool video. Can scripts automatically identify keywords within workbooks before running?

  • @SnowRiderFree
    @SnowRiderFree ปีที่แล้ว

    Hi Kevin, Thanks for the useful info...I'm struggling splitting a number in excel using scripts...I would like to split in thousands, hundreds and dozens in the respective cells...ex: 1234 splitted in 1 uK, 2 h, 3da and 4u, showing the result in the relative cells...I tried to use a script in js but don't know why doesn't recognize a variable and script goes in error. Please, any advise? Appreciate the support, Thanks

  • @exceldude2001
    @exceldude2001 3 ปีที่แล้ว

    Can you create custom functions in office script? if not how would you accomplish that in excel online?

  • @tridibbiswas3361
    @tridibbiswas3361 3 ปีที่แล้ว +1

    Hi Kevin, Thank you for tutorial. Is it possible to edit the Office Script offline on a code editor like VS Code locally on the desktop and then again upload to the cloud , where the initial one was.
    Also is it possible to expand the code editor for Office Script on web to cover the entire screen so as to give more screen real estate

  • @TiagoFreire
    @TiagoFreire 3 ปีที่แล้ว

    Office Script is great!
    The weak spot is the inability of running them if internet is unavailable.
    If a file is synced to disk, and already has a Script associated with it, it should be possible to run them offline.

  • @JustBlankNoInfo
    @JustBlankNoInfo 3 ปีที่แล้ว +1

    Well, there is nothing to say! You rock!

    • @KevinStratvert
      @KevinStratvert  3 ปีที่แล้ว

      Thanks Dark Dudes AI... appreciate all your comments!

  • @naveenkumarpenumalla7221
    @naveenkumarpenumalla7221 2 ปีที่แล้ว

    Hi Kevin, I have a requirement like excell with color based on status when download excell data from gallery items. can we do it like that using power automate?
    Please let me know if any possible ways. thanks in advance.

  • @opjazz
    @opjazz 3 ปีที่แล้ว

    Great video! Is it possible to use type script in excel for desktop as well? And create scripts online and use on desktop version and vice versa?

  • @shwetamirajkar1306
    @shwetamirajkar1306 2 หลายเดือนก่อน

    Hi Kevin, I have used a run script command in my flow & I have shared the flow with my colleague. But when he runs the flow, it stops at run script & doesn't execute even after all the permissions are given. Any idea what can be the solution?

  • @classytalks4310
    @classytalks4310 3 ปีที่แล้ว

    Similar to macro. Great tip! Can you please do a video on how to create and run a script with Google Sheets?

  • @Thehavemans
    @Thehavemans 3 ปีที่แล้ว

    How does this differ from power query? And when would you use one vs the other? In your example what it the number of rows varied from report to report?

    • @KevinStratvert
      @KevinStratvert  3 ปีที่แล้ว +2

      Power Query is ideal for formatting data before importing into Excel. With Office Scripts, you can set up logic to do all sorts of things (e.g. when someone fills out a Microsoft Form, enter the data into Excel and then update the worksheet based on the form responses). For variable number of rows, you can select the entire column or alternatively you can set up a loop to go through row by row until it hits an empty row.

  • @abhishekkamble9895
    @abhishekkamble9895 2 หลายเดือนก่อน

    By VBA or macros we assign a code or command to a button. How can we do that with using scripts. (I mean if I clicked a shape button then excel should be converted in to PDF and should be saved on onedrive)

  • @sandroganci8817
    @sandroganci8817 3 ปีที่แล้ว

    It is possible to run a Office Script that has one or more input parameters in the main function directly from excel?

  • @abhishekkamble9895
    @abhishekkamble9895 2 หลายเดือนก่อน

    Will this excel work on Android OS devices..?

  • @mitz5398
    @mitz5398 3 ปีที่แล้ว +1

    hey kevin, can u make a video on filmora X

  • @equinonez55
    @equinonez55 3 ปีที่แล้ว

    Could you do a piece on how to calculate CAGR% on a series of periods for an investment?

  • @georgecj33
    @georgecj33 2 ปีที่แล้ว

    Hello everyone,
    Please i have a question about VBA vs Sheets scripts for 365 office.
    In company we use both and i‘ve been learning vba for 1 year. I have excel macros on my workbook and this workbook is shared through 2 departments which can work at the same time, but there is some problems with saved worbooks through departments..
    i heard about 365 office which can work with other people, but i need some protected cells, automaticaly fill some cells and other and other.
    What is it better for use it if i want to use my workbook in realtime with others? And can scripts the same as macro or are scripts better?
    And sorry for my english, Greetings from Czech! 😊

  • @revanth_kanteerava
    @revanth_kanteerava 3 ปีที่แล้ว

    Hello Kevin can u make a video on automating excel to send an automated email with power automate and scripts , u gave an insight , pleas share that in detail

    • @KevinStratvert
      @KevinStratvert  3 ปีที่แล้ว

      Check out this video: th-cam.com/video/Nl5AoLusNR4/w-d-xo.html

  • @dalskiBo
    @dalskiBo 2 ปีที่แล้ว

    Thanks, what version did Excel make Javascript default over VBA? I'm in 2016 & VBA is still default. I know you can reference external libraries in VBA; I'm just asking out of general interest.

  • @juliorodriguezp
    @juliorodriguezp 3 ปีที่แล้ว +4

    I don't see the "Automate" option in my excel, how can I activate it?

    • @jinlin3317
      @jinlin3317 3 ปีที่แล้ว

      It's available in excel online version, not in desktop app.

  • @TechnicalAdarsh14
    @TechnicalAdarsh14 3 ปีที่แล้ว

    Please explain about the "developer" tab in PowerPoint.

    • @KevinStratvert
      @KevinStratvert  3 ปีที่แล้ว +1

      Thanks for the suggestion! I've added this to my list. Stay tuned. Cheers!

  • @Simon-vc1wk
    @Simon-vc1wk 3 ปีที่แล้ว

    Can you run script's in shared mailboxes in outlook?

  • @diligentjohn
    @diligentjohn 3 ปีที่แล้ว +1

    Can you also do a video on Script lab

    • @KevinStratvert
      @KevinStratvert  3 ปีที่แล้ว

      Thanks for the suggestion! I've added this to my list. Stay tuned. Cheers!

    • @diligentjohn
      @diligentjohn 3 ปีที่แล้ว

      @@KevinStratvert Thank you very much, We are very happy that the content you post is very nice ...
      One content which I am looking forward is Bing programmable search and python

  • @yominiyi263
    @yominiyi263 3 ปีที่แล้ว

    Great great video

  • @memestealer7037
    @memestealer7037 3 ปีที่แล้ว

    Just curious. Is Office Script also have buttons as the macros in Excel app?

  • @francescodechirico2706
    @francescodechirico2706 3 ปีที่แล้ว

    Hi Kevin when I create the script on power automate like you did i have an error message “body is required” and i don’t understand the error ! Can you or someone help me ? Thank you in advance! 🤗

  • @internationalpolitics1275
    @internationalpolitics1275 2 ปีที่แล้ว +2

    'Record action' option not available in my excel automate group. Any help

    • @erinfield1943
      @erinfield1943 ปีที่แล้ว

      It has to be Excel online. Upload it to your OneDrive. Then you'll see "Automate" in the top ribbon.

  • @srimanthn7752
    @srimanthn7752 7 หลายเดือนก่อน

    Great video

  • @khoanguyen8328
    @khoanguyen8328 4 หลายเดือนก่อน

    I'm encountering an issue where my script calls a URL using fetch when integrated into Power Automate. It throws the error 'fetch is not defined'. Do you have a solution?
    Thanks

  • @curlingjeff
    @curlingjeff 3 ปีที่แล้ว

    Is it possible to automate between MS apps. Like copy text from Excel then paste into Word?

  • @donasolliro6644
    @donasolliro6644 3 ปีที่แล้ว

    Can i assign script in a shape to trigger the code..??

  • @mandegum
    @mandegum 3 ปีที่แล้ว

    Hey, may I ask, I already made the office script to my excel online file and share to other team member under same organization. However, when she copied the file, the script wont show and I need to click share again. Is there anyway I could attach the script to the file?

  • @doyler78
    @doyler78 3 ปีที่แล้ว

    Thanks for the video. Great info. There's a very annoying problem with office scripts and power automate. Scripts use the ID of the file and not the name of the file, even though you select by name. That means you cannot run the script on new files, even of the same name, as it comes back with workbook not found. I have an email that comes in every day with purchase order information which I need to reformat and email onwards however I cannot automate it as the file that gets created from saving the attachment has a new file id every time it is saved therefore the script fails. You have to open the file and run the script manually so it's utility with Power Automate seems very constrained as files would have to be changed in Excel in order for it treat it as the same file or you have to do as I do and run the script manually. Not so great for automation.

  • @houssamHi
    @houssamHi 3 ปีที่แล้ว

    I have no automate tap in my excel. I am using MS Office Professional Plus. Any way to add this tap?

  • @myquest84
    @myquest84 2 ปีที่แล้ว

    I'm trying to figure out a script to hide columns based on the date. I know it would be easy to do with a macro, but I'm at a bit of a loss on scripts and haven't found a lot of good resources for it yet. Anyone that could help would be much appreciated. Thanks!

  • @tonilive7719
    @tonilive7719 3 ปีที่แล้ว

    Excellent video thanks!!! Is it possible to make a video of Script Lab, for those who don't have a business or school version of Office 365? Thanks very much!!!

    • @KevinStratvert
      @KevinStratvert  3 ปีที่แล้ว +1

      Thanks Toni! Great suggestion, I'll add to my list. Cheers!