title: Dynamic operator in VBA. How can I?
body: <p>How can I create a dynamic operator using VBA?</p>
  
  <pre><code>swt = True
  op = IIf(swt = True, "&lt;", "&gt;")
  a = 10
  B = 20
  IF a op B then
  MsgBox ("a is greater than B")
  End If
  </code></pre>
  
  <p>Obviously this fails but can anyone make it work?</p>