12-31-2010, 03:22 AM
You don't even have to do that. CDbl will work just fine for strings with commas in them. It just ignores them.
Code:
MsgBox CDbl("1,99,98,774")
Removing commas from a string and changing it to number
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
Removing commas from a string and changing it to number - by indranilgoswamimcb - 12-29-2010, 02:02 PM
RE: Removing commas from a string and changing it to number - by BVVPrasad - 12-29-2010, 02:32 PM
RE: Removing commas from a string and changing it to number - by cdesserich - 12-31-2010, 03:22 AM
RE: Removing commas from a string and changing it to number - by rajeshwar - 12-31-2010, 10:40 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Changing Data in the application | newbieny | 0 | 969 |
07-17-2019, 07:19 PM Last Post: newbieny |
|
Removing ASCII Control Characters from a file | Nithin | 0 | 5,637 |
09-30-2013, 11:45 PM Last Post: Nithin |
|
VB Script:number of times a character appears in a string with position | Jyobtech | 1 | 12,061 |
08-07-2013, 01:03 PM Last Post: anil2u |
|
How to have a variable that has a string comma string .. | shareq1310 | 5 | 5,070 |
11-09-2011, 03:33 PM Last Post: parminderdhiman84 |
|
Changing default browser | cowboy49 | 5 | 9,723 |
09-08-2011, 04:02 PM Last Post: souvikghosh_diatm |