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

Re: Easy way to remove commas by Graham

Graham
Mon Jan 21 07:29:57 PST 2008

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

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

Doc60 wrote:
> 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



Re: Easy way to remove commas by Tony

Tony
Mon Jan 21 09:04:17 PST 2008

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.

--
Enjoy,
Tony

"Doc60" <Doc60@discussions.microsoft.com> wrote in message
news:C1A87186-09CE-4F9B-9262-6274E8ED042C@microsoft.com...
> 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