Question: Option Explicit Dim Total _ Sales As Currency, Commission _ Amount As Currency Private Sub Calculate _ Commission ( ) Total _ Sales = InputBox
Option Explicit
Dim TotalSales As Currency, CommissionAmount As Currency
Private Sub CalculateCommission
TotalSales InputBoxenter the total sales in $
If TotalSales Then
CommissionAmount TotalSales
ElseIf TotalSales Then
CommissionAmount TotalSales
Else
CommissionAmount TotalSales
End If
CellsValue CommissionAmount
End Sub
When the code is run, what is the message displayed?
a enter the total sales c enter the total sales in
b enter the total sales in # d enter the total sales in $
If the value entered is what is the value of the variable CommissionAmount?
a c
b d
If the value entered is what is the value of the variable CommissionAmount?
a c
b d
If the value entered is what is the value of the variable CommissionAmount?
a c
b d
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
