![]()
To disable design mode, click the Design Mode icon within the Controls group.Īlso, you should enforce protection to the document (or form) before you share it with others to capture information. By the way, you cannot use the checkbox in design mode. Note: If you wish, you can remove the shading of the check box by clicking the Form Field Shading icon under Legacy Form.Ĥ. By default, the checkbox is in design mode (you can see the Design Mode icon being enabled within the Controls group) Word creates a check box at the cursor position. Under the section Legacy Form, click the check box icon as shown in the below image. Under the group Controls, click the Legacy Tools button. Now, you can view the Developer tab in the Ribbon. On the dialog box, under the category Popular (see on the left hand side), select the option Developer tab in the Ribbon. Click the Word Options button from the bottom of the list. If you are unable to find this tab in the Ribbon, most likely you need to enable this using the Word Options dialog box.ġ. These elements are available under the tab menu Developer in the Word Ribbon. You can use these elements to create a form in Word. 'Note: Controls which are created on design time cannot be deleted using this methodWord has this nice feature which enables insertion of text fields, check boxes, drop-down lists, etc. 'We can use Remove method to delete the controls which are created during run time Please find the below screen shot for your reference for the above macro and its output.Ĭode 1: Deleting or Removing Text Box control which is created during run time. Set lblBtn = Me.Controls.Add("Forms.TextBox.1") 'We can use Add method to add the new controls on run time Please find the below example and screen shots for better understand. Controls which are created during design time cannot be deleted using this method. We can use Remove method to delete the controls which are created during run time. In the below example, its deleting the TextBox named ‘New TextBox’ which is on the UserForm named ‘UserForm4’. #How to add text box in word 2010 with clear background how toPlease find the below code, it will show you how to delete or remove the control on the UserForm. In the below example ‘TextBox1’ is the text box name.ĭelete TextBox Control on the UserForm using VBA #How to add text box in word 2010 with clear background codePlease find the below code it will show you how to clear ActiveX Text Box control.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |