Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If by form, you mean a userform:
Private Sub UserForm_Initialize() Dim LBL As MSForms.Label Set LBL = Controls.Add("Forms.Label.1", "Lable2", True) LBL.Top = 5 LBL.Left = 5 LBL.Caption = "abcd" End Sub -- Regards, Tom Ogilvy "Ron" wrote in message ... Hi, Can anyone tell me how I can add a label to a form at runtime. Regards, Ron. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing the font for part of an axis label, not the whole label. | Charts and Charting in Excel | |||
How to rezize data label box in pie charts (label wraps to two lin | Charts and Charting in Excel | |||
COPY LABEL FORM FROM EXCEL TO A LABEL | New Users to Excel | |||
how to remove label formatting (eg label to number) | Excel Worksheet Functions | |||
add text to label (label from forms toolbar) | Excel Programming |