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

The label is within a frame in a form. The frame is enabled.
I do not want a user to edit the label, so I have it
disabled.......but this greys out the text in the label
both in the form and on the printout.

Is there a way around this, please?

Regards.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Disable Label in a Form

The user can't edit a label anyway. That is the purpose of a label??

--
Regards,
Tom Ogilvy

"Stuart" wrote in message
...
The label is within a frame in a form. The frame is enabled.
I do not want a user to edit the label, so I have it
disabled.......but this greys out the text in the label
both in the form and on the printout.

Is there a way around this, please?

Regards.




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

My mistake. I had unsuccessfully tried to create a
multi-line Label (to hold an address). Forgot that I
had changed it to a text box .... it was this textbox
that was greying out.
Am now using a series of labels, where each holds
one line of the address.

Regards and thanks.

"Tom Ogilvy" wrote in message
...
The user can't edit a label anyway. That is the purpose of a label??

--
Regards,
Tom Ogilvy

"Stuart" wrote in message
...
The label is within a frame in a form. The frame is enabled.
I do not want a user to edit the label, so I have it
disabled.......but this greys out the text in the label
both in the form and on the printout.

Is there a way around this, please?

Regards.






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Disable Label in a Form

this worked for me with 1 label

Private Sub UserForm_Initialize()
Label1.WordWrap = True
Label1.Caption = "The quick" & Chr(10) & _
"Fox Jumped Over the Lazy Dog's Back and" & _
" Speedily Ran Away"

End Sub

showing a forced return after "quick" and then using workwrap for the rest
although other forced returns could be embedded.

--
Regards,
Tom Ogilvy


"Stuart" wrote in message
...
My mistake. I had unsuccessfully tried to create a
multi-line Label (to hold an address). Forgot that I
had changed it to a text box .... it was this textbox
that was greying out.
Am now using a series of labels, where each holds
one line of the address.

Regards and thanks.

"Tom Ogilvy" wrote in message
...
The user can't edit a label anyway. That is the purpose of a label??

--
Regards,
Tom Ogilvy

"Stuart" wrote in message
...
The label is within a frame in a form. The frame is enabled.
I do not want a user to edit the label, so I have it
disabled.......but this greys out the text in the label
both in the form and on the printout.

Is there a way around this, please?

Regards.








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 154
Default Disable Label in a Form

Thanks for that.

Regards.

"Tom Ogilvy" wrote in message
...
this worked for me with 1 label

Private Sub UserForm_Initialize()
Label1.WordWrap = True
Label1.Caption = "The quick" & Chr(10) & _
"Fox Jumped Over the Lazy Dog's Back and" & _
" Speedily Ran Away"

End Sub

showing a forced return after "quick" and then using workwrap for the rest
although other forced returns could be embedded.

--
Regards,
Tom Ogilvy


"Stuart" wrote in message
...
My mistake. I had unsuccessfully tried to create a
multi-line Label (to hold an address). Forgot that I
had changed it to a text box .... it was this textbox
that was greying out.
Am now using a series of labels, where each holds
one line of the address.

Regards and thanks.

"Tom Ogilvy" wrote in message
...
The user can't edit a label anyway. That is the purpose of a label??

--
Regards,
Tom Ogilvy

"Stuart" wrote in message
...
The label is within a frame in a form. The frame is enabled.
I do not want a user to edit the label, so I have it
disabled.......but this greys out the text in the label
both in the form and on the printout.

Is there a way around this, please?

Regards.












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
Text Size in Label or Textbox in Form Tony. D[_2_] Excel Discussion (Misc queries) 2 December 18th 08 02:09 PM
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
COPY LABEL FORM FROM EXCEL TO A LABEL xrayAndi New Users to Excel 1 March 5th 06 02:21 PM
Refresh label on user form with RefEdit John Tjia Excel Programming 2 January 6th 04 10:12 PM


All times are GMT +1. The time now is 03:26 AM.

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

About Us

"It's about Microsoft Excel"