LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Equation Miscaculation


Hi there
When I put this formating to the value of TextBoxs,


Code:
--------------------
Gtot.Value = Format(Gtot.Value, "#,##0.000")
tot.Value = Format(tot.Value, "#,##0.000")
bal.Value = Format(bal.Value, "#,##0.000")
--------------------


Then the result of this line is always 1 or not correct

Code:
--------------------
bal.Value = val(Gtot.Value) - val(tot.Value)
--------------------


How can get the correct result out of equation ?


--
helmekki


------------------------------------------------------------------------
helmekki's Profile: http://www.excelforum.com/member.php...fo&userid=6939
View this thread: http://www.excelforum.com/showthread...hreadid=486844

 
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
Help with an equation Jeff Excel Discussion (Misc queries) 4 October 16th 08 10:00 PM
Equation Help sarah814 Excel Discussion (Misc queries) 2 June 16th 07 03:51 AM
Equation Editor- problem when editing an equation Gaby L. Excel Discussion (Misc queries) 0 September 27th 05 09:24 PM
Need help with equation mkerstei Excel Discussion (Misc queries) 1 August 4th 05 09:55 PM
Equation paulo_jorge_34 Excel Discussion (Misc queries) 3 June 14th 05 06:53 PM


All times are GMT +1. The time now is 04:30 AM.

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

About Us

"It's about Microsoft Excel"