A1VBCode Forums

If condition in VBA


http://www.a1vbcode.com/vbforums/Topic32317.aspx

By nadeembca - 7/18/2015

I would like to do this.



If the condition is met I would like to perform two different tasks in VB Excel. The simple syntex of If condition is this



If (Logical Condition) then



Task to perform



End if





However, I would like to perform multiple tasks to be performed not only one. How would I code it ? How to separate the second task ?
By nadeembca - 7/19/2015

Thanks, It worked.