Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 77
Default Leading dots...trailing dots

I know its possible to have a symbol/text repeat before or after text in a
field.
Using, for example, *- custom number format.

Is it possible to have a repeating character before and after text?
Centered between the leading and trailing characters.
Example:
|----- Text -----|

Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default Leading dots...trailing dots

Hi Josh,

The custom format: -------@-------- should do what you are after if the
number lines before and after is fixed.

If you want the enire string to be a fixed length something like REPT("-",(10-
(LEN(B1))))&B1&REPT("-",(10-(LEN(B1)))) where 10 is the fixed with should do

HTH

Simon

================================================== ======================

Josh O. wrote:
I know its possible to have a symbol/text repeat before or after text in a
field.
Using, for example, *- custom number format.

Is it possible to have a repeating character before and after text?
Centered between the leading and trailing characters.
Example:
|----- Text -----|

Thanks for any help.


--
--------------------
Simon - UK

Email at simon22mports [ a t ] hot mail [ d ot ]com

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200801/1

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 77
Default Leading dots...trailing dots

I am familiar with the format you referenced. And thanks for the formula, I
would had thought of trying it that way (although I would have to rethink how
the user enters data in the field in order to use it this way...hummm. Have
to think on it a bit).

Unfortunately, the cell(s) are not a fixed width. That kindof throws a
monkey wrench into it.

"smw226 via OfficeKB.com" wrote:

Hi Josh,

The custom format: -------@-------- should do what you are after if the
number lines before and after is fixed.

If you want the enire string to be a fixed length something like REPT("-",(10-
(LEN(B1))))&B1&REPT("-",(10-(LEN(B1)))) where 10 is the fixed with should do

HTH

Simon

================================================== ======================

Josh O. wrote:
I know its possible to have a symbol/text repeat before or after text in a
field.
Using, for example, *- custom number format.

Is it possible to have a repeating character before and after text?
Centered between the leading and trailing characters.
Example:
|----- Text -----|

Thanks for any help.


--
--------------------
Simon - UK

Email at simon22mports [ a t ] hot mail [ d ot ]com

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200801/1


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
Leader Dots Between Cells Ty New Users to Excel 11 December 22nd 07 04:38 AM
leading dots milfordatty Excel Discussion (Misc queries) 7 August 29th 07 05:26 PM
Change dots to commas!! Andreas Excel Discussion (Misc queries) 1 November 18th 06 12:55 AM
connecting dots on a chart [email protected] Excel Discussion (Misc queries) 0 September 18th 06 07:09 PM
dots instead of grid lines wrexx Excel Worksheet Functions 1 February 1st 05 11:52 PM


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