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


autofilter field vbaexcel based dashboardexcel macros examplesvba connection string to sql serverexcel short cutaccess vba msgbox yes novb cellssumifs function in excel 2010how to turn on macro in excelmerge and center selected cellsdrop down lists in excel 2007what is the shortcut key to hide row in excelusing checkboxes in exceluseful excel trickshow to use a pivot table excel 2010project delivery plan templatesingle vbamicrosoft templates project managementvba excel range variableexcel formula sumifexcel unlock password protected fileexcel macro vba tutorialexcel highlight duplicate rowslock a spreadsheetunshare a shared workbookshortcut of insert row in excelvba sql statementsumif excel vbaexcel merge sheetsengineering dashboard examplesexcel look updelete blanksms excel iserrorsimple project charter template freeexcel macro copy cell to another sheetvb interview questionselection.pastespecialremoving duplicate rows in excelexcel record macrovba trimunprotect excel workbook onlinevba arrays excelvba excel cell referencehow to unprotect sheet in excel 2010 without passwordmerge excel files macroiserror functionfind duplicates in excel columnexcel vba best practicesvba excel create new workbookpassword protect excel 2007 workbookexcel macro activate workbookvba refreshsoftware development cost estimation templateexcel vba built in functionssql beginnerswhat is hlookup and vlookupworkbook excel vbahow to put columns in alphabetical order in excelexplain macros in excelexcel concatenationexcel vba offset functionvariant excel vbaexcel project tracker templatevba delete recordhow to hyperlink in excelcreate a pie chart in excel 2013how to change macros in excelexcel templates with macrosexcel vba pivot tablesexcel vba case statementdelete a row vbapassword protect xlsexcel vba programming pdfsql ddl statementsfix vbapie chart templates excelconvert excel columns to rows