Can anyone tell me how you can get a text box to display a number in the
format 0.00 ?

Re: excel forms by Dave

Dave
Wed Nov 09 17:56:40 CST 2005

Dim myVal as double
myval = 3
textbox1.value = format(myval,"0.00")





Jim Lavery wrote:
>
> Can anyone tell me how you can get a text box to display a number in the
> format 0.00 ?

--

Dave Peterson

Re: excel forms by dominicb

dominicb
Wed Nov 09 17:58:52 CST 2005


Good evning Jim Lavery

This code will show the value of 100 to two decimal places i
textbox1:

TextBox1.Value = Format(100, "#,###.00")

HTH

Dominic

--
dominic
-----------------------------------------------------------------------
dominicb's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1893
View this thread: http://www.excelforum.com/showthread.php?threadid=48370