Automatically Move Completed Tasks to an Archive (with Excel Office Scripts & Power Automate) @LeilaGharani
Automatically Move Completed Tasks to an Archive (with Excel Office Scripts & Power Automate)  @LeilaGharani
Uploaded April 2023 | Updated September 2026, 3 days ago
Join 400,000+ professionals in our courses here πŸ‘‰ link.xelplus.com/yt-d-all-courses

Discover how to streamline your Excel workflow with this tutorial on automating task management! Perfect for project managers or anyone who needs a more efficient way to handle task lists.

⬇️ Download the script and file here: pages.xelplus.com/automate-scripts-file

πŸ” What's Inside:
β–ͺ️ Automate Tab in Excel: Explore the Automate tab in Excel for Desktop, a powerful feature for scripting and automation.
β–ͺ️ Office Scripts & Power Automate: Learn how to use Office Scripts combined with Power Automate to move completed tasks from one table to another automatically.
β–ͺ️ Practical Example: Follow a step-by-step guide to automate moving "finished" tasks from an active task list to an archive table.
β–ͺ️ Custom Script Creation: See how to create and tweak a script using Office Scripts' Record Actions feature.
β–ͺ️ Scheduled Automation: Set up your script to run automatically every night using Power Automate, ensuring your task list is always up-to-date.

Learn how to use the "record actions" button in Excel Automate tab and record an Office Scripts. With Office Scripts we'll create a macro that works on both Excel desktop and Excel online. In this example, I'll show you how to create a script to automatically move rows from one sheet to another sheet every single day.

Many of us have to maintain and update task or to-do lists in Excel. Wouldn't it be nice if tasks marked as "Complete" or "Done" are moved to an Archive automatically at the end of each day. So, next time you open the task tracker only open tasks are shown on your to-do list?

For example, you've created an Excel table to collect all the tasks your team is working on. At the end of the day, you want to move all the "Complete" or "Done" tasks to another Excel table. Instead of doing it yourself every single day, you can fully automate it. I'll show you how to create an Office Script to move rows from one table and append it to the bottom of another table based on a logic. I'll also show you how to let the script run automatically at a scheduled time using Power Automate. We'll set up a flow that runs the script every day. This way you don't need to worry about running the script yourself. Power Automate will run automatically.

With this tutorial you'll get to learn both Office Scripts and get an introduction to Power Automate and how to create a flow from Excel.

🌍 My Online Courses β–Ί xelplus.com/courses

00:00 Move All Rows with Status Finished Into Another Worksheet
02:00 The task tracker
03:40 Record Actions with Office Scripts
05:23 Testing the Recorded Script
06:20 Understanding Office Scripts Code
07:14 Office Scripts to copy visible range in table
08:28 Append rows to the bottom of a table with Office Scripts
11:17 Loop through a table and delete table rows with Office Scripts
15:12 Power Automate to run the script every day
18:18 Optimize and Debug Code
19:31 Wrap Up

🎬 LINKS to related videos:
Introduction to Office Scripts: youtu.be/fny4zUycp_w
How to use Office Scripts and Power Automate to do Boring Excel Tasks for You: youtu.be/v-_joMcPpLI

➑️ Join this channel to get access to perks: youtube.com/channel/UCJtUOos_MwJa_Ewii-R3cJA/join

πŸ‘•β˜• Get the Official XelPlus MERCH: xelplus.creator-spring.com

πŸŽ“ Not sure which of my Excel courses fits best for you? Take the quiz: xelplus.com/course-quiz

πŸŽ₯ RESOURCES I recommend: xelplus.com/resources

🚩Let’s connect on social:
Instagram: instagram.com/lgharani
LinkedIn: linkedin.com/company/xelplus

πŸ‘‰ This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!

#officescripts #powerautomate #excel
Automatically Move Completed Tasks to an Archive (with Excel Office Scripts & Power Automate)How to Find Duplicates in Excel (Fastest 4 Methods)Introducing REGEX Excel Functions - Extract, Clean, and Format Data Easily! (NEW!)Quick hello and letting you know about our new Python in Excel courseEasiest Way to Share Screen in Teams with Windows 11 #shortsYou Won’t Believe What Excel’s Copilot Can Do! (new updates)Find Your Excel Tools Quickly - New Feature #shortsGreat Power Query Tip ▢️ How to Import Entire File Content in Excel or Power BI #shortsA Cool Way to add Timestamps to Excel #excelUsing Power BI? You Dont Need DAX Anymore!You Wont Believe These Crazy PIVOT TABLE Hacks!Cool Free Windows Utilities to Use EVERYDAY | PowerToys
Leila Gharani |

Automatically Move Completed Tasks to an Archive (with Excel Office Scripts & Power Automate)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER