excel forms

  • Thread starter Thread starter Jim Lavery
  • Start date Start date
J

Jim Lavery

Can anyone tell me how you can get a text box to display a number in the
format 0.00 ?
 
Dim myVal as double
myval = 3
textbox1.value = format(myval,"0.00")
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top