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.

PREMIUM TEMPLATES LIMITED TIME OFFER

ON SALE80% OFF

50+ Project Management Templates Pack
Excel PowerPoint Word

Advanced Project Plan & Portfolio Template
Excel Template

Business Presentations Templates Pack
PowerPoint Slides

20+ Excel Project Management Pack
Excel Templates

20+ PowerPoint Project Management Pack
PowerPoint Templates

10+ MS Word Project Management Pack
Word Templates


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 mongopono.ru’. Please find the below screen shot for the same.
  8. 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
LIMITED TIME OFFER

2 Comments

  1. Gamini November 14, 2015 at 3:14 PM - Reply

    Hi,

    I wish to know after making a label caption on a userform be copy/transfer along with filled user form data to a excel sheet?

    Regards,

    Gamini

  2. mukul April 7, 2016 at 2:35 PM - Reply

    Hi,
    Can you code this :
    Create a button in userform and give the command that after clicking the button new userform opened and display some text which is writen in excle sheet2.

Leave A Comment


Related pages


vba loops examplesproject dashboard pptcombining chart types in excelvbe excel3d surface plot excelvba backcoloradd developer tab to ribbon in microsoft wordvba unprotectmerge column in excelshot keys of excelfree excel formulas with examples in excel sheetcalculate vbahow to amalgamate excel spreadsheetsexamples of formulas in excelvba insertvba macro wordadvanced excel formulas with examples in excel sheethow do you check for duplicates in excelmsgbox function in vbaexcel dashboards and reports 2010vlookup function examplesql basics for beginnersvba debuggerconsolidate multiple worksheets into one3d clustered column chartcolor index vbaexcel vba loop through rowsexcel formula data validationunhide excel sheethow to merge and center cells in excel 2010trim function in exceltcl commandsgoto function in vbahow to use the pivot table in excel 2007public variable vbahow do you hide columns in excelhow to make pivot table in excel 2007sql pivot table examplesadvantages microsoft excelwhere is the developer tab in excelvlookup with choose functionhide worksheets in excelusing countif functionexcel unlock cellsvba dynamic arraysexcel delete rangecosting sheet templatemsgbox yes no vba accesscolumn index number in excelhow to refresh a pivot tableexcel vba applicationworkbook close vbaexcel vba undoproject costing sheet3d excel chartexcel formulas list 2007write function vbahow to insert row on excelhow to unprotect excel sheet without password freevba columnsscrum meeting templateresource planner excelthisworkbook vbahow to increase the column width in excelexcel identify duplicate rowsprotecting worksheets in excel 2010project planning freewarevba call procedureproject management tracker excelaccess excel vbavba worksheet deleteusing vba functions in excelexcel vba create rangevlookup left to rightproject status report ppt template