Step 1: Set up a worksheet with the appropriate headings and tab names to display the files Step 2: Get the user to select the starting point from which the search must begin Step 3: Get a count for all files and folders in the chosen path and prepare status bar Step 4: Monitor time elapsed and give user a chance to exit if it is taking too long Step 5: Get all file and folder names and store in the new worksheet(s) created in step 1 Step 6: Save in a new workbook Note that steps 3 and 5 are similar, because you have to read the headers of all file objects to determine how many there are. It is necessary to do this so that a message with progress status can be displayed .
Step 1: Set up a worksheet with the appropriate headings and tab names to display
the files
Step 2: Get the user to select the starting point from which the search must begin
Step 3: Get a count for all files and folders in the chosen path and prepare status bar
Step 4: Monitor time elapsed and give user a chance to exit if it is taking too long
Step 5: Get all file and folder names and store in the new worksheet(s) created in step 1
Step 6: Save in a new workbook
Note that steps 3 and 5 are similar, because you have to read the headers of all file
objects to determine how many there are. It is necessary to do this so that a message with progress status can be displayed .
Write code to implement these steps:
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)