Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2008

Tip: Looking for answers? Try searching our database.

Easy way to remove commas

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Doc60 - 21 Jan 2008 13:05 GMT
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
Graham Mayor - 21 Jan 2008 15:29 GMT
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

Signature

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

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

> Hi,
>
[quoted text clipped - 4 lines]
>
> Thanks
Tony Jollans - 21 Jan 2008 17:04 GMT
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.

Signature

Enjoy,
Tony

> Hi,
>
[quoted text clipped - 6 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.