Hello,
This code below works, but if I add "both" it doesn't work
.Cells(iRow, 3) = IIf(frmForm.optLarge.Value = True, "Large", "Small") This code works
.Cells(iRow, 3) = IIf(frmForm.optLarge.Value = True, "Large", "Small", "Both") if I add "both" does not work.
How can I make it work by
adding "Both"?
This code below works, but if I add "both" it doesn't work
.Cells(iRow, 3) = IIf(frmForm.optLarge.Value = True, "Large", "Small") This code works
.Cells(iRow, 3) = IIf(frmForm.optLarge.Value = True, "Large", "Small", "Both") if I add "both" does not work.
How can I make it work by
Excel Formula: