samedi 26 janvier 2019

Is variable required instead of "or"

Simple Hide Row not functioning when given multiple options

Ive tried setting a Variable for the range and got same mismatch

If Range("J178") = "Credit" Or "Debit" Or "Both" Then Rows("180").Hidden = False Else Rows("180").Hidden = True End If

I expected the code to run or not; not the Run time 13 type mismatch im receiving.

Aucun commentaire:

Enregistrer un commentaire