if textbox.lenght > 4 or textbox.lenght < 4 then
'qui fai ciò che devi fare se non sono 4 cifre
end if