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
 
Yes
But this would not rotate the letters

alvin


"Jacob Skaria" skrev:
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top