Question
Write a VBA program called miniA3A. That should also be the name of your Word document as well. The program will prompt the user for
Write a VBA program called "miniA3A". That should also be the name of your Word document as well. The program will prompt the user for two values:
a font size (1 GPA)
a font name (1 GPA)
When the program is run it will then format (via the 'Selection' object) any text that has been selected in a Word document according to the size (1 GPA) and name (1 GPA) entered by the user. Nothing will happen if no text has been selected. The prompts should give the user what types of inputs should be entered: Feature #1: something to the effect of "Enter font size (whole number 1 or greater): " Feature #2: ""Enter font name e.g. Consolas: " but your program does not have to handle/prevent errors.
Comparison of a document 'before' and 'after' running the program: [Before] [After]
Before
After
miniA3.docm -Word File Home Insert Design Layout References Mailings Review View Developer ACROBAT Tell me what you AaBbCcD AaBbCcDc AaBbCA Copy Paste Normal No S Format Painter Clipboard Font Paragraph Styles Star Trek 9)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started