View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Janos Janos is offline
external usenet poster
 
Posts: 13
Default Check if there is a decimal point

Thank you all for your help, I solved it by treating it like a string.

Janos

"Janos" wrote:

Hello,

Within a for loop i need to check if and where a value has a decimal point,
and then amend/add a decimal point. Ie:
100.11 - 100.11
100.1 - 10.01
100 - 1.00

I have tried convoluted ways o check such as Right(Left(c.value,3),1)="."
but it doesn't ever want to...

Any ideas, suggestions?

Much Appreciated,

Janos