View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Alex St-Pierre Alex St-Pierre is offline
external usenet poster
 
Posts: 169
Default Format - Add space between number and symbol (%)

Hi !
I have a cell in Excel which contains a % (ex: 88%) and I would like to add
a space between the number and the pourcentage. (88 %) Is there any
personalized format that allow me to add a space ?
strData = Cells(1,1 '0.88
strFormat = Cells(1,1).NumberFormat 'strFormat = 0%
if strFormat = "0%" then strFormat = ???
strData = Format(strData,strFormat)

Thank you.
--
Alex St-Pierre