Conditional assignment?

  • Thread starter Maury Markowitz
  • Start date
M

Maury Markowitz

I can't believe this hasn't come up in my code before...

Does VBA have a conditional assignment function? Like...

msg = (user = "Maury") ? "Foo" : "Bar"

Maury
 
Top