View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
philcud philcud is offline
external usenet poster
 
Posts: 34
Default Add spaces to cell

using functions not vb
if names in column a
formula in b1
=LEFT(A1&" ",17)
this adds 17 spaces to the name, then returns the left 17 characters of
this new string.