devi fare:

codice:
if a.text == "" and b.text == "" then
msgbox "Errore, compilare correttamente!"
else

Codice se va tutto bene

endif