Hi Dani! >Supossing you've got a txtTest TextBox: > >if Object.Class (txtTest) = "TextBox" then > ' Control code ... >endif > > Many many thanks! :-) Ciao Sakya ___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com