Hi everyone!
I have a big problem. I would like to put in an excel funtion to VBA but it makes "Compile error: Syntax error"
Here it is the code:
Private Sub CommandButton2_Click()
Range("E12").Value = Appliaction.WorksheetFunction.If(CountA(C34:D51)>1;"VEGYES paletta";E34)
End Sub
Can you help me?
I have a big problem. I would like to put in an excel funtion to VBA but it makes "Compile error: Syntax error"
Here it is the code:
Private Sub CommandButton2_Click()
Range("E12").Value = Appliaction.WorksheetFunction.If(CountA(C34:D51)>1;"VEGYES paletta";E34)
End Sub
Can you help me?