MESSAGE 2
2. Using the Visual Basic Editor, create a VBA procedure namedmessage_2 that does the following:a. Create a Message Box that meets the followingrequirements:i. A Multiline Message Box with the following message:Welcome to PowerPoint!Do you wish to run this Presentation?ii. Contains a Yes and a No button.iii. Contains a Question Mark icon.iv. The No button is the default button.v. The Message Box title reads “Run Show?”b. If the user clicks the Yes button, the slide showruns.
Solution
Dear Student ,
As per the requirement submitted above , kindly find the belowsolution.
VBA Code:
Sub message_2()
Dim Yes As Integer
Yes = MsgBox(“Welcome to PowerPoint!” +
OR
OR