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:
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:
Step by step
Solved in 3 steps with 2 images