VBA IF Function – Using IF, ELSE:, ELSEIF, IF THEN in VBA code | Excel & VBA – Databison
The IF function in VBA works in a slightly different manner from how it works in Excel. In Excel, ... options and just want to return or do one thing if your main condition check is not met. Long answer: read this: VBA IF Function – Using IF, ELSE:, ELSEI...