560 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owls only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
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.
You want to write a flow to open a workbook if it exists:
For example, the workbook Knife.xlsx exists in the above folder, so we can open it.
However, if a workbook doesn't exist your flow should display a suitable message:
If you try to open the workbook called Spoon.xlsx in the above folder you should see a message like this.
To get this to work create a new flow called Is there a spoon with the following actions:
|Set variable||Create a variable called FileName and set its value to the name of the file you want to open (eg knife or spoon).|
|Set variable||Create another variable called FilePath to hold the full path to this file, including the file name and .xlsx file extension (using a variable to store this will make the flow easier to read, and also let you reference this file path again easily).|
|If file exists||Check if a file exists with this file path. If it does, your flow should launch Excel, opening the file; otherwise your flow should use an Else action to display a message saying that the file was not found.|
Test that your flow works with a valid and invalid file name, then save it and close it down.
You can find other training resources for the subject of this exercise here:
25 Aytoun Street