Power Automate Desktop | Files and folders exercise | List files in Excel workbook by last modified year

This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

Software ==> Power Automate Desktop  (18 exercises)
Version ==> Latest version
Topic ==> Files and folders  (2 exercises)
Level ==> Harder than average
Subject ==> Power Automate training

You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

This exercise is simple to explain!  Choose any folder on your computer, and list out all of the files within it (including its subfolders, and their subfolders, etc) by year of the date of the last modification:

Worksheets by year

Your flow should create a workbook like this, with one worksheet for each year spanned. Each worksheet should contain a list of the files last modified in that year.

The only hint you get is that you'll need to get a list of the files, then from this get a list of the unique year numbers so you can loop over these to create your worksheets.

To get this working, create a flow called List all files not changed recently.  When your flow is working to your satisfaction, save and close it.

You can unzip this file to see the answers to this exercise, although please remember this is for your personal use only. Our Power Automate exercises answers are provided as text files - you can see how to assemble these back into PAD flows here.
This page has 0 threads Add post