come non detto
bastava un

else
end if

in fondo...ciao e grazie