View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jan Karel Pieterse Jan Karel Pieterse is offline
external usenet poster
 
Posts: 535
Default Type of textbox on userform

Hi,

It is indeed an msForms.Textbox.

But not all events you have in the userform's code module
itself are available in a class module.

Regards,

Jan Karel Pieterse
Excel TA/MVP

-----Original Message-----
Hello,

could someone tell me what the type is of a textbox you

put on a userform
with the vba toolbox? I want to create such a textbox at

runtime via a class
module. I thought it was from type MSForms.TextBox, but

this type hasn't got
the event handler LostFocus, which I really need for my

application and
which all the regular textboxes on a userform do have.

Could someone help me
please?

Thx,

Lieven


.