Hi fellows:
I am struggling with very tiny code but gave up after spending lots of time. I have a value in a cell e.g. A1 value is: 12.001.
I need vba code that counts number of zeros after decimal. e.g. 12.001 should give number of zers = 2
12.333 should give no zero or zero
145.01 => only one zero.
478.0003 => 3 zeros.
Any help would be appreciated.
Riaz
I am struggling with very tiny code but gave up after spending lots of time. I have a value in a cell e.g. A1 value is: 12.001.
I need vba code that counts number of zeros after decimal. e.g. 12.001 should give number of zers = 2
12.333 should give no zero or zero
145.01 => only one zero.
478.0003 => 3 zeros.
Any help would be appreciated.
Riaz