Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Negative Value not computing

I have the following code:

Worksheets("Worksheet").Cells(81, 3).Value = -0.01 Then ...

In cell C81 the calculated value is -.01, but when the
code executes it does not evaluate as -.01. But it does
return -.01 when I make it post value to a cell.

Why doesnt it want to evaluate properly in the formula?

TIA
Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Negative Value not computing

How is your cell (C81) formatted (i.e. as number, as
currency, decimal places, etc.)?

-----Original Message-----
I have the following code:

Worksheets("Worksheet").Cells(81, 3).Value = -0.01

Then ...

In cell C81 the calculated value is -.01, but when the
code executes it does not evaluate as -.01. But it

does
return -.01 when I make it post value to a cell.

Why doesnt it want to evaluate properly in the formula?

TIA
Mike
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Computing the item age AG[_3_] Excel Worksheet Functions 3 May 28th 09 03:11 AM
Computing Time from One Day to Another Wendy Excel Discussion (Misc queries) 1 July 25th 07 02:34 PM
COUNTIF not computing adminsecretary Excel Discussion (Misc queries) 4 December 11th 06 05:15 PM
computing sums Holden Caulfield New Users to Excel 2 July 11th 06 06:09 PM
COMPUTING TWO COLUMNS roy.okinawa Excel Worksheet Functions 3 November 14th 05 01:46 AM


All times are GMT +1. The time now is 01:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"