Forum Discussion

Bob_Hayes's avatar
Bob_Hayes
Copper Contributor
Feb 18, 2022
Solved

What is wrong with this visual basic formula

I am trying to show a different form based on the content of a cell. The cell I am referencing will have either a 1 or 0 in it.    Worksheets("Sheet3").Range("A11").Formula = "=if("a11"=>"1" Then f...
  • JMB17's avatar
    Feb 18, 2022

    Bob_Hayes Try:

     

    If Worksheets("Sheet3").Range("A11").Value >= 1 Then frmselect.Show Else frmfunny.Show

     

     

Resources