Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

image text in transcribed

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 Sub

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro PowerShell For Database Developers

Authors: Bryan P Cafferky

1st Edition

1484205413, 9781484205419

More Books

Students also viewed these Databases questions

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago