Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Removing commas from a string and changing it to number
#3
Not Solved
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")
Reply


Messages In This Thread
RE: Removing commas from a string and changing it to number - by cdesserich - 12-31-2010, 03:22 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

Forum Jump:


Users browsing this thread: 1 Guest(s)