Z
zykon
Guest
Hello
I have recently started using VBA at school. I am stuck trying to make one of my fields to behave as required. The problem is that i want to input a weight in kilograms, but round it to the nearest 5 grams. eg
7.456 Kg would become 7.46 Kg
How would i go about this and if anyone could suggest a code to do this it would be appreciated. Please note that i am very unfamilar with VBA so could answers please be as simple as possible.
Thanks for your help
Zykon
I have recently started using VBA at school. I am stuck trying to make one of my fields to behave as required. The problem is that i want to input a weight in kilograms, but round it to the nearest 5 grams. eg
7.456 Kg would become 7.46 Kg
How would i go about this and if anyone could suggest a code to do this it would be appreciated. Please note that i am very unfamilar with VBA so could answers please be as simple as possible.
Thanks for your help
Zykon