View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default urgent! need to find "," in number

Use the Text property of the range, not the Value property. E.g.,

Debug.Print InStr(Range("A1").Text, ",")


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"vbastarter" wrote in
message
...
Hi I need to find out if a number cell in a cloumn contains ","
and the fire
a msgbox
i need to fire msgbox when i come across cell containg value
31,205

Usually, i would use instr or other string functions but being
a number,
thosse strigs are not working .

Any help appreciated.