View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default ABS Excel Function

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