LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default a) char(10) and b) asterisks for borders?

= Rick: I tried ="a"&String(2, vbLf)&"b", ="a"&String(2, CHAR(10))&"b",
and ="a"&String(2, 10)&"b" and all produce the #name? error.


I have to apologize to you... because you posted in the programming
newsgroup, I assumed you were looking for a VB solution (developing
worksheet formulas are not really considered "programming"); however, I
should have realized that you wanted a formula response by your use of the
CHAR function... problem is, that spelling is very close to VB equivalent
function Chr... again, because you posted in a programming group, my mind
simply saw Chr and not CHAR. Anyway, there is a similar solution at the
worksheet formula level in the REPT function. For example, try this...

="A"&REPT(CHAR(10),3)&"B"

but make sure you format your cell(s) for word wrap or you won't see the
result.

Rick

 
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
FIND 1 char in cell of any 3 char =True Nastech Excel Discussion (Misc queries) 5 April 26th 08 02:17 PM
Sum function with asterisks DianeG Excel Worksheet Functions 3 August 20th 07 10:43 PM
Input box with asterisks kjworks Excel Discussion (Misc queries) 2 August 14th 06 12:10 PM
8500 cells with phone number(7 char.), wishing to add area code (10 char.) [email protected] Excel Discussion (Misc queries) 6 March 10th 06 05:13 PM
Asterisks in Excel Walsh jj Excel Discussion (Misc queries) 1 June 17th 05 10:28 PM


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