View Single Post
  #5   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.misc
a7n9[_2_] a7n9[_2_] is offline
external usenet poster
 
Posts: 3
Default Custom Fields with spaces

Suppose A1 has the text you want to format, then use this formula in B1:
=A1&REPT(CHAR(32),30-LEN(A1))

wrote in message
oups.com...
Hi,
The easiest way to explain my dilemma is by example. I need a custom
field that is always thirty character spaces long no matter how long
the text is. So for example, lets say the word is PIZZA which is 5
characters, I would need 25 blank spaces afterwards to get to 30
characters in total. Does anybody know what this would look like?
I've tried to use the _ but that doesn't seem to work. Thanks.