Ciao,

prova con questo:

if checkbox1.checked=true then

eseguifunzione()

end if

ciao
Alessandro2110