Label in a form

  • Thread starter Thread starter alvin Kuiper
  • Start date Start date
Dear Alvin

You could try this after placing a label with enough height and a command
button in a user form.

Private Sub CommandButton1_Click()
UserForm1.Label1.Caption = Replace("A D M I N", " ", vbCr)
End Sub


If this post helps click Yes
 
Hi,

If the text is static consider using an image. Use autoshape textbox and
change alignment.
The copy the textbox as picture. Select textbox. Whilst holding shift use
menu, Edit > Copy Picture > Bmp.

Then within your userform add a Image or Label. Select the Picture property
and paste.

If the text is dynamic then there is code here to create/copy/paste shape on
the fly
http://www.andypope.info/vba/userformdraw.htm

Cheers
Andy
 
Back
Top