

In the below example ‘TextBox1’ is the text box name. Please find the below code it will show you how to clear ActiveX Text Box control. You can see the created dynamic Text Box which is shown in the following screen shot.Now, click F5 to run the macro, click ‘Create_TextBox ’ button to see the result.'Add Dynamic TextBox and assign it to object 'Lbl' Procedure to call in the CommandButton: Sub Add_Dynamic_TextBox()

