Question: answer the following QUESTION 2 On the following VBA Code the yellow part, represent what? Sub IfStatement40) Example of nested ifs. Dim cell As Range
QUESTION 2 On the following VBA Code the yellow part, represent what? Sub IfStatement40) Example of nested ifs. Dim cell As Range Const cutoff = 80 Go down Employee column. If all scores for a Employee are greater .Than cutoff, boldface the Employee number. Note the indenting. It is crucial for readability! For Each cell In wsData Range("Emplovee") If cell.Offset(0, 1).Value > cutoff Then If cell Offset(0, 2).Value = cutoff Then If cell.Offset(0, 3) Value cutoff Then cell. Font Bold = True End If End If End If Next End Sub A straitght logic structure A nested if Structure using else A nested Loop structure A nested if structure without else
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
