Try c.Text instead of c.Value, and use InStr(c.Text, ".")>0 as an initial
screen for the point. To see if a six-character string has a decimal point
in its 4th position: Mid$(c.Text, Len(c.Text)-2, 1)="."
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______
"Janos" <(E-Mail Removed)> wrote in message
news:01AEDA55-35B0-4CFE-9C2E-(E-Mail Removed)...
> 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