Label is used to display descriptive text or information or instructions. It can be title, caption, etc. It can be used on the WorkSheet. You can see how it works and more details about ActiveX Label Control on the Worksheet in the following chapter.

Label  Excel ActiveX Control Object

VBA ActiveX Label_Control on the Worksheet

Please find more details about VBA ActiveX Label Control on the Worksheet.

  1. Go To Developer Tab and then click Insert from the Controls
  2. Click on the Label from the ActiveX Controls group.
  3. Drag the control on the Worksheet.
  4. Right click on the Label, before that Design Mode should be turned ON.
  5. Click on properties from the available list.
  6. On the left side find ‘Caption’ from the available properties of the control.
  7. On the right side mention as ‘Welcome To analysistabs.com’. Please find the below screen shot for the same.
  8. Label  Excel VBA ActiveX Control2

  9. Like this you can add number of Label controls on the Worksheet according to your requirement.

Delete Label_Control on the Worksheet using VBA

Please find the below code, it will show you how to delete or remove the control on the worksheet. In the below example, its deleting the Label named ‘Label1’ which is on the worksheet named ‘Sheet11’. Where Delete is the property of Shape object.

Sub Delete_Label()
Sheets("Sheet11").Shapes("Label1").Delete
End Sub

Hey! Join Our Community

Get Quick Responses & Experts' Answers in Minutes!
Get Notified - When Answered Your Question!