Posted by Robert G Laurin on June 15, 2012 at 08:04:12:
In Reply to: Re: Negative numbers in Excel posted by Jim Barbaruolo on June 15, 2012 at 06:00:44:
That is what I do...
Let ExcelNumber$ = Strip(Str(ABS(MyCometNumber)))
If MyCometNumber < 0
Let ExcelNumber$ = '-' + ExcelNumber$
Endif
The trick is the ABS that removes the sign altogether and simplifies the code. Still too bad that after so many years Excel still can't tell a number is negative with a trailing minus.
Enjoy !
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.