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


find duplicates in excel vbaexcel formula for cell colorcolor by code worksheetsvba pivot table source dataexcel 2010 bubble charthow to select different rows in excelmacro formula in excelvba excel closehow to program in vbaexecutive dashboard templatesmultiple selection list boxsql server basic commandsexcel macro active cellhow to change the width of columns in excelmsgbox hello worldvba return valuehlookup formulaexcel chart objecthow to use excel sumifexcel vba erroraccess vba add record to tablevba listsmultiple if and statements in exceliserror formulaunhide worksheetslimitation of vlookupvba codes examplesvba input message boxvba programingexcel tutorial intermediatedaily scrum meeting templateexcel vba multiple ifmacro to unprotect worksheetautofit excel 2013how to create command button in excelexcel remove headerexcel vba userform combobox additemdrop down menu in excel 2007filesystemobject deletefileexcel unprotect workbook without passwordexcel vba open applicationoledb connection string sql server 2012what is a logical function in excellist of shortcut keys in excelhow to unhide all columnsapplication screenupdating falseexcel vba copy paste rangeproject charter pptworkbook excel vbavba popup windowaverageif functionwhy we use hlookup in excelvlookup excel 2010 step by stepwhat is excel ribbonexcel shortcut to insert rowexcel vba current sheetunhide all tabs in excelvba userform excelexcel macro countifcapacity planning template in excel spreadsheetexcel macro delete columncell in vbacreating a macro excelvba unlock workbookexcel vba memory managementexcel lock sheetsort az excelvba scrollbarvlookup tutorialexcel macro create chartexcel remove duplicates from listlearn access vbamacro formula in excelexcel vba activate workbookproject estimation template excel