This Microsoft Excel WORKING WITH FILES exercise is provided to allow potential course delegates to assess their suitability for the Wise Owl ADVANCED VISUAL BASIC FOR APPLICATIONS course only, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.
A full answer to this exercise is provided as part of the training course!
| 1) | Download the files needed to start this exercise: exercise-423.zip (and click here if you experience any problems unzipping this file after downloading it). |
| 2) | Create a macro to display a dialog box for choosing a file as follows: |
Notes on the options to set are shown below
|
|
| 3) | Here are some of the things to build in:
|
| 4) | Your macro should display the following message if your user chooses Cancel: |
Display this message if the button chosen value is 0
|
|
| 5) | Your macro should display this message otherwise: |
Display the file chosen otherwise
|
|
| 6) | Save your macro file with a suitable name, then close it down. |
Thank you for showing an interest in this Advanced Visual Basic for Applications training course! As mentioned above, full answers to this and other exercises are provided on the course. On all Wise Owl scheduled courses delegates can take away these model answers (together with their own efforts!) on a free USB stick.
Recommended sites: C# corner | Computer tutorials | Training classes