I already try this also.
But the Decimals property don’t limit the number of digits the user can enter.
If I set Decimals to 3 the user can enter for example 12,123456 but when he leaves the cell, the value is deleted because invalid.
Do you know if there is some event that i can trap every time the text of the cell is changed?
I try with ValueChanged but it is raised only when the cell loose the focus.
I try KeyDown and KeyPress but they are raised only the first time, when I start to write into the cell, but while editing the cell they are no more raised.
Imported from legacy forums. Posted by Gian Luigi (had 307 views)