Easy way to remove commas

D

Doc60

Hi,

I have a macro that calculates differenct columns and rows. The results have
commas in the values such as 4,555. I don't want the comma in the values. Is
there an way to remove the commas from values in a range of columns and rows?

Thanks
 
G

Graham Mayor

If the numbers are already entered in the document -
Use the replace function with the wildcard option set to replace
([0-9]),([0-9])
with \1\2

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
T

Tony Jollans

If you are doing the calculating, I presume you are doing the formatting
that's putting the commas in. I think a little more detail would be helpful.
 

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

Top