VBA MOD01 If then (Else , Else If ) for conditional Outcomes


If then (Else , Else If ) for conditional Outcomes

 Public Sub Simple_If()

If Range("B3").Value <> "" Then

Range("C3").Value = Range("B3").Value

End If


If Range("B4").Value > 0 And Range("B4").Value <= 400 Then

Range("C4").Value = Range("B4").Value


End If


End Sub



Comments

Popular posts from this blog

introduction to python CH 01

Day 02 Python - data types , Numbers , Operations , Type Conversions , f-Strings

CH02