Pedro,
Use the Abs
VB function
myVar=Abs(-50.3)
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
"Pedro" wrote in message
...
Hi
ABS excel function is not available in Visual Basic.
What code should I write in order to give me the absolute number
Regards
PEdro