Рет қаралды 9,201
Let's learn to Populate, Import, Generate a Microsoft PowerPoint Interactive Quiz From Microsoft Excel With VBA - Visual Basic Application.
VBA Code: pptvba.com/import-ppt-quiz-ex...
POPULATE A POWERPOINT QUIZ FROM EXCEL WITH VBA
Import Questions & Answers of a Microsoft PowerPoint Multiple-Choice Quiz Game from Excel with VBA.
0:00 Introduction
0:25 Import Questions & Answers from Excel
6:49 Export and Send Results to Excel
After this, you can also shuffle the answer boxes so that they are placed in random positions, learn how: • How to Randomly Shuffl...
We can automatically generate a PowerPoint Quiz Game whilst using Microsoft Excel as our database. We can type the questions and answers in pre-set columns, then using VBA in PowerPoint we can populate our Question Slides.
We run the following ImportQuestions sub-routine to populate our PowerPoint Quiz Game. We first set the location of the Excel Workbook that is already created in the same folder as the PowerPoint Quiz Game.
Our columns are preset with the data that is supposed to be present. The A Column has only the questions, the B Column has only the correct answer, the columns from C to E only have the wrong answers.
This later allows us to call to the values present in the Excel Cells of those Columns and use them to populate all the Question and Answer Shapes of the PowerPoint Quiz.
We use a For-Loop for all the question slides. This allows us to populate all the question slides with the necessary questions and answers.
Do note that the names of the shape in PowerPoint are case-sensitive. Also, change the variable range in the for-loop based on the number of slides in your PowerPoint Quiz Game.
The biggest question now is that if we duplicate the slides and import the questions from an Excel Sheet, the answers will not be shuffled and the order and the position would remain the same. Worry not!
Learn to randomly shuffle the PowerPoint Answer Shapes:
pptvba.com/ppt-quiz-random-sh...
EQUIPMENT: This video contains affiliate links. If you click on one of them, I'll receive a commission
💻Laptop: amzn.to/2BvJ1Cp (Dell XPS 15)
🎙Microphone: amzn.to/38jdVtK (Zoom H1n)
💿Software: Camtasia Studio
Intro Music: Dock Rock (Sting) - John Deley and the 41 Players
Outro Music: Yo Picasso - Verified Picasso
#PowerPointGames #PowerPointTutorial #PPTVBA
I also do freelancing, contact me:
🟥 Bhavesh Shaha,
📧 bhavshaha@gmail.com
🌐 www.pptvba.com
🎥 / bhaveshshaha
📷 basicallybhavesh (DMs are open)