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

I have inherited a form on which is a label. When I edit the label's caption
property, I find 'box' characters which seem to represent linefeeds(?).
How can I reproduce these please?

Regards.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Box Characters in a form

"abc" & chr10 & "efg"

--
Regards,
Tom Ogilvy

"Stuart" wrote in message
...
I have inherited a form on which is a label. When I edit the label's

caption
property, I find 'box' characters which seem to represent linefeeds(?).
How can I reproduce these please?

Regards.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Box Characters in a form

I'm pretty sure Tom meant:

"abc" & chr(10) & "efg"



Tom Ogilvy wrote:

"abc" & chr10 & "efg"

--
Regards,
Tom Ogilvy

"Stuart" wrote in message
...
I have inherited a form on which is a label. When I edit the label's

caption
property, I find 'box' characters which seem to represent linefeeds(?).
How can I reproduce these please?

Regards.



--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Box Characters in a form

dim chr10 as String
chr10 = chr(10)
Userform1.label1.Caption = _
"abc" & chr10 & "efg"

guess the first three lines didn't copy. <G

Thanks for the catch/fix.


--
Regards,
Tom Ogilvy


"Dave Peterson" wrote in message
...
I'm pretty sure Tom meant:

"abc" & chr(10) & "efg"



Tom Ogilvy wrote:

"abc" & chr10 & "efg"

--
Regards,
Tom Ogilvy

"Stuart" wrote in message
...
I have inherited a form on which is a label. When I edit the label's

caption
property, I find 'box' characters which seem to represent

linefeeds(?).
How can I reproduce these please?

Regards.



--

Dave Peterson



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Box Characters in a form

Very nice!

Tom Ogilvy wrote:

dim chr10 as String
chr10 = chr(10)
Userform1.label1.Caption = _
"abc" & chr10 & "efg"

guess the first three lines didn't copy. <G

Thanks for the catch/fix.

--
Regards,
Tom Ogilvy

"Dave Peterson" wrote in message
...
I'm pretty sure Tom meant:

"abc" & chr(10) & "efg"



Tom Ogilvy wrote:

"abc" & chr10 & "efg"

--
Regards,
Tom Ogilvy

"Stuart" wrote in message
...
I have inherited a form on which is a label. When I edit the label's
caption
property, I find 'box' characters which seem to represent

linefeeds(?).
How can I reproduce these please?

Regards.



--

Dave Peterson


--

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
convert 5 characters in a cell to 6 characters by adding a zero Helenf Excel Discussion (Misc queries) 4 May 18th 09 04:43 PM
Insert Leading Characters If String Is Only 7 Characters Paperback Writer Excel Discussion (Misc queries) 2 April 21st 09 09:07 PM
Restricting Characters within a User Form DarnTootn Excel Discussion (Misc queries) 3 December 10th 08 10:45 PM
In Excel find characters when multiple characters exist w/i a cel teacher-deburg Excel Worksheet Functions 1 December 5th 05 10:22 PM
HOW DO I EXTRACT ALL CHARACTERS AFTER 5 CHARACTERS ON LEFT GRYSYF Excel Worksheet Functions 5 October 12th 05 10:58 AM


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