Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Label in a form

Hi
Is there away to rotet a text in a label 90 degres ?

Alvin

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Label in a form

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
---------------
Jacob Skaria


"alvin Kuiper" wrote:

Hi
Is there away to rotet a text in a label 90 degres ?

Alvin

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Label in a form

Yes
But this would not rotate the letters

alvin


"Jacob Skaria" skrev:

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
---------------
Jacob Skaria


"alvin Kuiper" wrote:

Hi
Is there away to rotet a text in a label 90 degres ?

Alvin

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default Label in a form

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

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"alvin Kuiper" wrote in message
...
Hi
Is there away to rotet a text in a label 90 degres ?

Alvin


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Concatenate to form a label gwendalee Excel Discussion (Misc queries) 3 October 16th 07 12:59 AM
Hyperlink on a label in a VB Form Gaetan Excel Discussion (Misc queries) 4 May 28th 07 12:35 PM
Form label not showing Les Stout[_2_] Excel Programming 0 October 17th 06 11:00 AM
COPY LABEL FORM FROM EXCEL TO A LABEL xrayAndi New Users to Excel 1 March 5th 06 02:21 PM
Disable Label in a Form Stuart[_21_] Excel Programming 4 March 13th 05 11:04 PM


All times are GMT +1. The time now is 07:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"