Logo 
Search:

MS Office Forum

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds

Dynamic Event adding to userforms created during design time

  Asked By: Lisa    Date: Mar 21    Category: MS Office    Views: 895
  

I am adding a few controls at run time to an userform which was created
during design time. The below piece of code does that.

Form_Design_Time.Controls.Add("Forms.TextBox.1")

I want to now add an event to this text box which was created during
runtime. I am trying to use CreateEvenProc. I am not able to access the
form's codemodule.

Any work around?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 




Tagged: