ALL SOFTWARE EXERCISES
- EXERCISES HOME PAGE (813)
- Access 2010 (66)
- Access VBA Macros (17)
- Advanced VBA (29)
- Excel 2010 (83)
- Excel 2013 (10)
- Excel 2016 (0)
- Excel VBA Macros (37)
- Power BI - Excel 2013 (25)
- Power BI - Excel 2016 (23)
- Power BI Desktop (26)
- PowerPivot 2010 (26)
- Report Builder 3.0 (42)
- SQL (156)
- SSAS - multidimensional (21)
- SSAS - tabular (29)
- SSIS Integration Services (40)
- SSRS Reporting Services (53)
- Visual Basic (45)
- Visual C Sharp (65)
- WPF - Visual C# (20)
ADVANCED VBA EXERCISES
Exercise: PowerPoint info to Excel
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.
The answer to the exercise will be included and explained if you attend the course listed below!
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.
Open the PowerPoint presentation in the above folder. Feel free to press the F5 function key to run the slide show if you should so desire! Your aim is now to produce an Excel workbook containing summary slide information for this PowerPoint presentation, looking something like this:
Your workbook does not have to be neatly formatted like this
To achieve this, first create a module within this presentation, and within this create a subroutine called something like ListSlideInformationInExcel.
Reference the correct Microsoft Excel object library!
Write your subroutine so that it:
- Creates a new Excel workbook
- Puts a heading row at the top
- Loops over all the slides in the ActivePresentation, writing the names for each and the number of slides to the Excel workbook
Each slide has a Shapes collection, so something like ThisSlide.Shapes.Count would give you the number of slides.
Save your presentation with the same name, then close it down.