Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 536
Default Active XText box vbcr shows symbol instead of an actual carraige return

Range("A11:D11") values = one two three four

Option Explicit

Sub TheT_Box()
Dim MyStringVariable As String

MyStringVariable = Range("A11").Value & ", " & Range("B11").Value _
& vbCr & Range("C11").Value & ", " & Range("D11").Value

TextBox1.Text = MyStringVariable

End Sub

In the text box it displays this on a single line:
one, two(Para Symbol)four, five

Where (Para Symbol) is the two-staff backward P

Copy that text string here it displays as:

one, two
three, four

I want the later IN the text box.
Is that in keeping with proper use of a Active X Text Box?

Regards,
Howard
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default Active XText box vbcr shows symbol instead of an actual carraige return

Hi Howard,

Am Sat, 13 Jul 2013 10:46:14 -0700 (PDT) schrieb Howard:

In the text box it displays this on a single line:
one, two(Para Symbol)four, five


in the properties of the textbox you have to set MultiLine is True
If you haven't you only see the symbol


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 536
Default Active XText box vbcr shows symbol instead of an actual carraige return

On Saturday, July 13, 2013 11:01:17 AM UTC-7, Claus Busch wrote:
Hi Howard,



Am Sat, 13 Jul 2013 10:46:14 -0700 (PDT) schrieb Howard:



In the text box it displays this on a single line:


one, two(Para Symbol)four, five




in the properties of the textbox you have to set MultiLine is True

If you haven't you only see the symbol





Regards

Claus B.

--

Win XP PRof SP2 / Vista Ultimate SP2

Office 2003 SP2 /2007 Ultimate SP2


Okay, thanks.
I'll give it a go.
Really new to Active X stuff and text box goodies.
I do know there are a ton of properties and such.

Regards,
Howard
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
Save As csv Carraige Return issue WaterBug Excel Worksheet Functions 3 May 6th 10 04:09 PM
if AddIn_1 isRunning vbcr application.enableEvents=False vbcr end if: how to do this?? Matthew Dodds Excel Programming 1 April 17th 07 08:45 PM
carraige return within a cell & capitalization Olvarski Excel Programming 3 September 24th 04 04:32 PM
Action A Carraige Return To A Text File Dave[_17_] Excel Programming 0 September 18th 03 09:05 PM
Action A Carraige Return To A Text File Dave[_17_] Excel Programming 0 September 18th 03 07:12 PM


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