Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 181
Default format label text

I have a UserForm with a TextBox on it. I have initiated the text box with a
series of values. I would like to format the result of my displayed textbox.

It reads as follows.

Me.TextBox4 = _
"Model:" Range("o12").Value & vbCr & _
"Customer: " & Range("n26").Value & vbCr & _
"Qty:" & Range("J26").Value

I would like to underline the words Model, Customer and Qty:
Can I do it?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default format label text

I think the way it is built that you have to underline all or none.


"Alberto Ast" wrote in message
...
I have a UserForm with a TextBox on it. I have initiated the text box with
a
series of values. I would like to format the result of my displayed
textbox.

It reads as follows.

Me.TextBox4 = _
"Model:" Range("o12").Value & vbCr & _
"Customer: " & Range("n26").Value & vbCr & _
"Qty:" & Range("J26").Value

I would like to underline the words Model, Customer and Qty:
Can I do it?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 181
Default format label text

How do I underline it with programing?

"Alberto Ast" wrote:

I have a UserForm with a TextBox on it. I have initiated the text box with a
series of values. I would like to format the result of my displayed textbox.

It reads as follows.

Me.TextBox4 = _
"Model:" Range("o12").Value & vbCr & _
"Customer: " & Range("n26").Value & vbCr & _
"Qty:" & Range("J26").Value

I would like to underline the words Model, Customer and Qty:
Can I do it?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default format label text

Me.TextBox4.Font.Underline = xlLineStyleSingle


"Alberto Ast" wrote in message
...
How do I underline it with programing?

"Alberto Ast" wrote:

I have a UserForm with a TextBox on it. I have initiated the text box
with a
series of values. I would like to format the result of my displayed
textbox.

It reads as follows.

Me.TextBox4 = _
"Model:" Range("o12").Value & vbCr & _
"Customer: " & Range("n26").Value & vbCr & _
"Qty:" & Range("J26").Value

I would like to underline the words Model, Customer and Qty:
Can I do it?



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default format label text

With Me.TextBox1
.Value = "hi there"
.Font.Underline = True
End With

Alberto Ast wrote:

How do I underline it with programing?

"Alberto Ast" wrote:

I have a UserForm with a TextBox on it. I have initiated the text box with a
series of values. I would like to format the result of my displayed textbox.

It reads as follows.

Me.TextBox4 = _
"Model:" Range("o12").Value & vbCr & _
"Customer: " & Range("n26").Value & vbCr & _
"Qty:" & Range("J26").Value

I would like to underline the words Model, Customer and Qty:
Can I do it?


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 181
Default format label text

Thanks you both...
I wanted to mix different font types in same textbox but as JLGWhiz stated
looks like it is not posible.... too bad :(, thanks anyway

"Dave Peterson" wrote:

With Me.TextBox1
.Value = "hi there"
.Font.Underline = True
End With

Alberto Ast wrote:

How do I underline it with programing?

"Alberto Ast" wrote:

I have a UserForm with a TextBox on it. I have initiated the text box with a
series of values. I would like to format the result of my displayed textbox.

It reads as follows.

Me.TextBox4 = _
"Model:" Range("o12").Value & vbCr & _
"Customer: " & Range("n26").Value & vbCr & _
"Qty:" & Range("J26").Value

I would like to underline the words Model, Customer and Qty:
Can I do it?


--

Dave Peterson
.

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
data label format Laoballer Charts and Charting in Excel 0 April 6th 09 06:24 PM
Label Format to Column Format drakehouse Excel Discussion (Misc queries) 3 November 14th 06 12:30 AM
How do I format text in a label in Excel? Horsnaround Excel Worksheet Functions 0 September 13th 06 08:08 PM
Data Label Format Cody Excel Discussion (Misc queries) 0 July 1st 05 09:27 PM
add text to label (label from forms toolbar) Rob Bovey Excel Programming 0 September 5th 03 09:46 PM


All times are GMT +1. The time now is 06:22 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"