Can I enter a two-line text description on a button

  • Thread starter Thread starter C.K
  • Start date Start date
C

C.K

Can I enter a two-line text description on a button,
chr(13) doesn't seem to do anything ?
 
Dim myText As String

myText = "Line One" & vbCrLf & "Line Two"

Button2.Text = myText


--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing
 
* "C.K said:
Can I enter a two-line text description on a button,
chr(13) doesn't seem to do anything ?

\\\
Me.Button1.Text = _
"Hello" & ControlChars.NewLine & _
"World!"
///
 
Yes, this is better, helps to remember all the
various escapes
:)
Thanks
C.V.
 
Hold On, I give you the answer first and yet you thank everyone except me ?

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing
 
Sorry, I should have thanked everyone, you are correct to point
this out, and I assure you it won't happen again, you can be
assured of that,

Thanks
 
Hey, I want to live in an egalitarian world where everyone get's a fair
deal, dont you ?

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing
 

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