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


sql important interview questionsprotecting worksheets in excelsql excel tableusing excel vba to run sql queryproject manager excel templateexcel uppercaseadd chart title in excel 2010excel comparison operatorsexcel vba call macropivot table sample datavba convertplanner format for excelrun excel macro from batch fileusedrange excelexcel basic macrosreplace formula in excelhow to change row height in excelinteractive excel chartunlock excelvba output to text filevba integer to stringpivot chart in excel 2010how to find empty cell in excelbreaking excel password protected sheethow to delete multiple records in sqlcreate new workbook vbavba dim variableexcel userform tutorial pdfexcel remove duplicates in a columnmacro password crackerhlookup excel tutorialvba excel activecellinsert new worksheet in excelddl comandsribbon tab in excelcountif function criterialcase vbaworksheetfunction vbapopulate combobox excelworkbooks open filename vbacolor excel cellsvba secondsconvert excel rows to columnsexcel macro sql queryhow lock excel sheetdashboard format in excelexcel vba made easyinput box in vbamsgbox excel vbaclassification of sql commandsaccess vba basicssql interview questions and answers pdf for experiencedword vba checkboxfilesystemobject file existshow to create stacked bar chart in excel 2010excel find duplicate entriesexcel iteration exampleexcel vba calculate sheethide column vbaexcel button hyperlinkdelete duplicate dataworkbook close vbavisual basic excel 2007 tutorialvba elseifexcel advanced tutorialexcel vba savecopyasfree dashboard templates powerpointwhat is a pivot table in excel 2010removing blank rows in excelproject timetable template excelvba query accesshow do i remove hyperlinks in excelactivex control properties