Question: VBA for Word 2016 1. Using the Visual Basic Editor, create a VBA procedure named my_name that does the following: a. Define two string variables
VBA for Word 2016
1. Using the Visual Basic Editor, create a VBA procedure named my_name that does the following:
a. Define two string variables named fname and lname.
b. Assign your first name to fname.
c. Assign your last name to lname.
d. Using the MsgBox function, display the message Your name is John Smith using the two variables to obtain your first name and last name. (Your name should be in the place of John Smith.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
