Answered step by step
Verified Expert Solution
Question
1 Approved Answer
11. Use Excel VBA to solve and show all of your code and work Question 11: If Example - Write an If Example as in
11. Use Excel VBA to solve and show all of your code and work
Question 11: If Example - Write an If Example as in the "If Example 11", page 71, to determine if a member qualifies for membership in the Society of Women in Engineering given a user's input. - Please run the VBA code to make sure it runs properly. 11 Sub Example11() Dim gender As String gender = InputBox("Enter your gender. Type F for female, M for male:", , "F") If gender = "F" Or gender = "f" Then MsgBox "You are qualified for membership in the Society of Women in Engineering." Elself gender = "M" Or gender = "m" Then MsgBox "You are qualified for membership in the Society of Men in Engineering." Else MsgBox "Error: Type either M or F." End If End SubStep 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