Creating a hyperlink
Choosing a shape
Right-click on the shape and select Format Shape.
Make the necessary changes to create an appealing button. Choose a Solid
fill color and change the Transparency option. On the Line Color tab, select No
Line.
Formatting a shape
Select the shape and click Hyperlink in the Links group on the Insert tab.
The Insert Hyperlink dialog box opens. You can select an existing file; or a Web
page, create a new document, or include an e-mail address.
Creating a hyperling
Chapter 7 / The Plant Cell 101
Insert hyperlink dialog box
Click the Place in This Document tab; choose the slide to which you want to
advance.
You have just created a hyperlink; now check how it is working.
Start the slide show and move your mouse pointer over the hyperlink that you
just created.
You see that mouse pointer changes to the hand shape, which means a hyperlink
exists. When you click the hyperlink, the presentation jumps to the specified slide.
Hyperlink on the slide
1 To return to the
menu slide.
102 Returning to the menu slide
Presentation with MS PowerPoint
Now you need a hyperlink to return to the menu slide. This time you will insert a
picture, and create a hyperlink from the picture. You should create this button in
the slide master because the button should include on all slides.
In the Slide Master, insert a picture in the bottom right corner of the
slide that will be the button to return to the menu slide.
Right-click on the picture and select Hyperlink.
Select the menu slide on the Place in This Document tab.
Inserting a Hyperlink
Linking to a place in the document
Create all hyperlinks that you need to navigate to all slides.
You have created a navigating system that gives you the possibility to visit all slides.
You can also create a hyperlink from each organelle using shapes.
Select the Freeform shape from the Shapes.
Draw a closed path on the organelle.
Selecting a shape Drawing a closed area
Chapter 7 / The Plant Cell 103
You can modify the points to get a better shape.
Right click on the picture, and select Edit Points.
Click the point and rotate from the white points to make a curved line.
Selecting Edit Points
Exiting edit point Regulating points
You can add new points to ensure a better shape.
Right click and select Add Point.
When you finish working with points, select Exit Edit Point.
Press the Ctrl+K keys while the shape is selected. The Insert Hyperlink dialog
box opens.
Click the Place in This Document and select the slide to which you want to
jump.
You can run the slide show and check how the new hyperlink on the organelle
works.
Step 4: Action Buttons
You have used hyperlinks, and now you know that you can go to another slide,
presentation, or web page using hyperlinks. You can do more using actions,
including running a program, running a macro, or playing an audio clip. Using
action buttons, you can assign an action to occur when you click on it or hover
over it with your mouse.
104 Presentation with MS PowerPoint
Some examples of built-in action button shapes are in the Shapes gallery. It includes
right and left arrows as well as commonly understood symbols for going to the next,
previous, first, and last slides and, for playing videos or sound bites, and more.
The built-in action buttons Action button
You can also draw a shape and then apply an action to the object. To apply an
action, you need to use the Action button in the Links group on the Insert tab.
On the main slide, you may need a button to finish the presentation.
Insert a picture on the main slide
Click the Action button in the Links group on the Insert tab.
The Action Settings dialog box opens.
You can also give actions for
Mouse Over event. You have
more options in the Hyperlink to
combo box:
Action settings dialog box
Select End Show from the drop-down menu for Hyperlink to.
Start your slide show and check how your new button works.
Step 5: Creating a Simple Test Presentation
You can create a simple interactive test presentation in PowerPoint using actions.
Create a new presentation with the previous presentation theme.
Chapter 7 / The Plant Cell 105
Creating titles Add slides and type the titles in the Outline view.
• The first slide is the Start the Test slide
• T he following slides are the question slides. Create one slide for each
question.
• The final two slides are the Correct and Wrong slides.
Select all slides and deselect the check boxes for the On Mouse Click and After
options in the Advance Slide section.
Using Text Box, write questions and answers on the question slides; write the
results for the Correct and Wrong slides.
Change the text and shape styles of the text boxes.
The following picture shows the current view of the slides:
All slides in the slide sorter view
The slides are ready. Now you can create navigation buttons to move between
the slides.
On the first slide, when you click the START THE TEST, it goes to the
second slide (question 1).
Select the text, and click the Action button in the Links group.
Creating a hyperlink using action
106 Presentation with MS PowerPoint
Select the slide to which you want to link. Selecting an action button
On the question slide, you need the buttons to go to the next, previous and first
slides.
Select an action button that you want to insert.
Draw a rectangle on the slide.
The Action Settings dialog box opens, and the necessary hyperlink slide is
automatically selected depending on the selected action button. For example,
the Next Slide in the Hyperlink to is selected because the right arrow action button
is used.
The question slide has the navigation buttons.
Advancing to the next slide
The question slide with action buttons Linking to a Slide
It is time to assign actions for the answers. If the user selects the correct answer,
the hyperlink goes to the Correct slide. If the answer is wrong, it goes to the
Wrong slide.
Select the text box and create an action to go to the required slide.
On the Correct and Wrong slides, you include a button to return to the last viewed
slide.
Click the Return action button.
Selecting the Return Action Button 107
Chapter 7 / The Plant Cell
The return action button selects the Last Slide Viewed from the Hyperlink to.
Returning to the last slide viewed
You can also add sounds to the buttons. The presentation will be
more interesting if a sound plays when you hover over the button.
S elect the button and click Action in the Links group.
Click the Mouse Over tab and choose a sound from the drop-
down menu in the Play sound section.
If you want to use a different sound that is not listed, select Other
Sound and locate your desired sound.
Playing sound using an action
Step 6: Connecting Presentations
You have created two presentations: The Plant Cell and Test. There is a WordArt
text on the first slide of the Plant Cell presentation. You need to make it a hyperlink
to start the Test presentation.
Select the text box; click Action in the Links group on the Insert tab.
108 Presentation with MS PowerPoint
Hyperlink to another presentation
Choose Other PowerPoint Presentation from the
drop-down menu for the Hyperlink to and locate
the presentation.
Start your slide show, and check how your Test
button works.
When you click the Test button on the first slide, the
Test presentation starts. When you exit from the Test
presentation, it returns to the main presentation.
Checking a button 109
STEP 7: Macros (Optional)
In this Test presentation, how can you count how many questions you answered
correctly? To perform this task, you have to use Visual Basic for Applications (VBA),
a programming language that gives you the ability to extend your applications.
VBA works by running macros, which are step-by-step procedures written in Visual
Basic. Learning to program might seem intimidating, but with some examples such
as the ones in this article, you will find that learning even a small amount of VBA
code makes your work easier.
In the previous Test presentation, remove all hyperlinks, and make the Result
slide instead of the Correct and Wrong slides.
Chapter 7 / The Plant Cell
The following picture shows the current view of the slides:
All slides in the slide sorter view
One tab on the ribbon is the Developer tab, where you access the Visual Basic
Editor and other developer tools. Since Office 2010 does not display the Developer
tab by default, you must enable it.
To enable the Developer tab:
On the File tab, choose Options. The PowerPoint Options dialog box opens.
Click Customize Ribbon on the left side of the dialog box.
Select the Developer check box from the Main Tabs.
The Developer tab is added to the ribbon.
The Developer tab
110 Presentation with MS PowerPoint
Enabling the Developer tab
You can click the Macro Security button, and specify which macros can run and
under what conditions. Disable all macros with notification is selected by default.
Since rogue macro codes can damage your computer, you can leave this option
by default. When you open a workbook that contains a macro, you can click the
Enable Content button to enable the macros.
Enabling the macros
In addition, you cannot save a macro in the default PowerPoint file format (.pptx);
instead, you must save the macro in a PowerPoint Macro-Enabled Presentation
file with a special extension, .pptm.
VBA codes 111
First you need to decide which variables you need in this
example. You will ask the user name, userName, and
you count the correct answers, numCorrect.
On the Developer tab, click the Visual Basic button
in the Code group.
Define the variables (General and Declarations are
selected)
Dim numCorrect As Integer
Dim userName As String
Visual Basic code view
Chapter 7 / The Plant Cell
Creating a New Macro
Click the Macros button on the Developer tab. The Macro dialog box opens.
Creating a Macro
Type a name under Macro Name text field and click the Create button.
The Visual Basic Editor opens and contains a Subroutine with the name GetStarted.
Type your codes which will run with this macro.
Sub GetStarted()
1 numCorrect = 0
2 userName = InputBox(“Type your name”, “Name”)
3 ActivePresentation.SlideShowWindow.View.Next End Sub
1: Initializes the numCorrect variable, making it zero.
2: Opens the input dialog box and allows you to enter data.
3: Moves the presentation to the next slide.
These commands will run when you press the “Start the Test” button on the first
slide. You must assign the GetStarted macro to that button.
Assigning a Macro to a Button
S elect the button to which you want to assign a macro.
O n the Insert tab, click the Action button in the Links
group.
Assigning a macro
112 Presentation with MS PowerPoint
O n the Mouse Click tab, choose a macro from the Run macro drop-down menu.
Start your presentation to check how it works.
The result of a macro
When you click the button, the input dialog box opens. Type your name and click
OK. The slide shows moves to the next slide.
Now you have to create a new macro that increases the counter variable, numCorrect.
Create a new macro, named CorrectAnswer and type the following codes.
Sub CorrectAnswer()
1 numCorrect = numCorrect + 1
2 ActivePresentation.SlideShowWindow.View.Next
End Sub
1: Increases the value of the variable, numCorrect.
2: Moves the presentation to the next slide.
This macro must be assigned only to the correct answers.
When the wrong answer is clicked, the test simply goes to the next
slide (you can do it with hyperlinks without using a macro).
Running a Macro
Chapter 7 / The Plant Cell 113
On the last slide, the results slide, you need to show how many questions the
user answered correctly. Create a new macro named FeedBack and type the
following codes.
Sub FeedBack()
1. MsgBox (“You got “ & numCorrect & “ correct answers “ & “, “ & userName)
End Sub
1: Opens a message box, writes the text directly between two double quotes, and
the values of the variables.
Assign this macro to the button on the last slide. Start your presentation to check
how it works.
A Message box showing number of the correct answers
When you click the button, it indicates your results: “You got 3 correct answers,
Mesut”
Here the number 3 is the value of the numCorrect variable, and the name Mesut
is the value of the userName variable.
You have created a presentation with macros that counts your correct answers.
You can create more complex applications using VBA.
114 Presentation with MS PowerPoint
PROJECT 1 Introduce an Organ in the Human Body
You can choose an organ such as the brain, heart, eye, ear, nose, lung and more, and introduce some parts of
the organ.
For example, if you choose the heart:
Create a new presentation, and apply a theme.
Include a complete picture of the heart on the first slide.
Add one slide for each part of the organ, and fill in the slides with
text and pictures.
Remove the Advance Slide options from the slides
Make buttons from the names and shapes of the organs on the
first slide to navigate to other slides.
Add a button in the Master View to return to the first slide.
Add a button on the first slide to finish the presentation.
Add sounds to the mouse over property of the buttons.
PROJECT 2 An Interactive Test
Create an interactive test presentation with five questions. Each question should have three possible answers.
Include navigation buttons on the slides to move between the slides.
When you click the correct answer, it should show that your answer is correct. When you click the wrong answer,
it should show that your answer is wrong.
Chapter 7 / The Plant Cell 115
Test Questions 4. Which of the following cannot be used to create
a hyperlink?
1. Which of the following ways can be used to a. Shape
save the theme in a presentation? b. Table
I. Save as type – Office Theme c. Picture
II. Save&Send – Broadcast Slide Show d. WordArt
III. Save&Send – Publish Slides e. Clip Art
IV. On the Design tab, in the Themes group, click
More, and select Save Current Theme 5. A hyperlink cannot be used to:
a. I and III a. Play a sound
b. II and IV b. Create a new document
c. III and IV c. Go to a Slide
d. I and IV d. Start an existing presentation
e. I, II, and III e. Link to an e-mail address
2. What information is written in the Outline tab? 6. What keys are used to create a hyperlink?
a. Titles a. Ctrl+A
b. Content b. Ctrl+H
c. Caption c. Ctrl+L
d. Section d. Ctrl+G
e. Notes e. Ctrl+K
3. In order not to advance the slide with a mouse 7. This action button is used to go to which slide?
click, which group is used? a. First Slide
a. Timing group on the Animations tab b. Home Slide
b. Advanced Animation group on the Animations c. Last Slide
tab d. Previous Slide
c. Timing group on the Transitions tab e. Next Slide
d. Set Up group on the Slide Show tab
e. Monitors group on the Slide Show tab
116 Presentation with MS PowerPoint
Test Questions
8. What is VBA?
a. step-by-step procedures
b. a hyperlink
c. an action
d. a programming language
e. action script
9. What is a macro?
a. a programming language
b. a hyperlink
c. an action
d. review
e. step-by-step procedures
10. What is the file extension for a macro-enabled
presentation?
a. pptm
b. ppts
c. potx
d. potm
e. thmx
Chapter 7 / The Plant Cell 117
Chapter 1 Chapter 2 Chapter 3 Chapter 4
1.B 8.E 1.E 8.A 1.B 8.B 1.A 8.C
2.A 9.A 2.D 9.B 2.B 9.E 2.D 9.D
3.C 10.D 3.B 10.D 3.A 10.D 3.D 10.C
4.D 4.A 4.D 4.B
5.A 5.E 5.E 5.E
6.B 6.C 6.A 6.B
7.C 7.D 7.C 7.A
Chapter 5 Chapter 6 Chapter 7
1.E 8.E 1.D 8.E 1.D 8.D
2.B 9.B 2.B 9.B 2.A 9.E
3.B 10.D 3.C 10.A 3.C 10.A
4.C 4.C 4.B
5.A 5.B 5.A
6.D 6.A 6.E
7.A 7.E 7.B
A E O
Action buttons 110 Edit points 108 Office theme 102
Add point 109 Effect options 74, 77 On click 75
Advnace slide 104 Embedded 87 Outline 62, 103
After previous 75 Enable content 117
Align 72 P
Alignment 24 F
Alignment tools 36 Page setup 33
Animation painter 75 Flip horizontally 71 Parking prohibited 73
Animations 73 Frame slides 63 PDF document 94
AutoCorrect 45 Freeform shape 70 Placeholders 12
Play across slides 60
B G Poster frame 89
PowerPoint show 14
Backstage 9 Gridlines 26 Ppsx 14
Bounce end 77 Group 71 Pptx 14
Brightness 54 Group the pictures 24 Presentation 8
Broadcast slide show 95 Presentation software 8
Bullets and numbering 36 H Presentation views 14
Preview 58
C Handouts 62 Protect presentation 14
Hide during show 61
Chart 37, 41 High quality 63 Q
Collated 63 Horizontal line 22
Compress pictures 35 Hyperlinks 104 Quick access toolbar 9
Contrast 54
Corrections 54 I R
Crop 35
Custom path 74, 79 Increase list level 39 Rehearse 92
Custom range 62 Remove background 21
Custom show 15, 91 L Reorder animation 74
Custom slide show 91 Ribbon 9
Custom templates 51 Linked 87
Loop until stopped 61
D
M
Developer tab 116
Macros 116
Macro security 117
Maintain the aspect ratio 69
N
Not 48
Notes 62
S
Scale to fit paper 63
Sections 85
Send backward 71
Send to back 71
Shape outline 36
Shapes 68
SharePoint 95
Sharpness 54
Slide layout 10
Slide master 19
Slides 8
Slides numbers 33
SmartArt 55
SmartArt graphics 27
Smooth start/end 77
T
Table 36
Templates 50
Text animation 78
Theme 18
Trigger 90
Trim audio 61
Trim video 88
U
Uncollated 63
V
VBA 116
Video 95
visual effect 21
visual style 69
W
With previous 75
Wrong way 73