guarda

if peso2 > "10" or peso2 = "30" then

"10" è una stringa, il confront fallirà sempre!

così funzicherà


if CInt(peso2) > 10 or CInt(peso2) = 30 then

(a parte che se è 30 è SEMPRE >10....)