Format - Add space between number and symbol (%)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
if you don't need code, you can use a custom format. just format->cells->custom
and enter 0.00 %
 
just try re-formatting the column(s)
select>right click>format>custom> 0.00 %
 
When I write: 0.00%, I see, 87.59% and when I write 0.00 %, I see 0.9%. I
can't see 88 %.

Thanks!
 
i tried 0 % and it worked for me

--


Gary


Alex St-Pierre said:
When I write: 0.00%, I see, 87.59% and when I write 0.00 %, I see 0.9%. I
can't see 88 %.

Thanks!
 
It is probably because all my computer language is in french. It's strange..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top