Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Textbox Format

Status
Not open for further replies.

vestax22

Programmer
Jun 18, 2003
139
CA
I have another small question. I have a textbox that is linked to a cell inside a worksheet through a control source. During the form initialisation I go and put a value inside this cell that the text box is linked to.

worksheets("Stats").range("tempDolomite").value = "5.89"

now when the form finishes loading up the textbox that is supposed to have 5.89 inside it has 5,89 inside it. The problem here is that I have a spinner right beside this text box that increases or decreases the value by 0.01 every click. When I click on the spinner the number 5,89 turns into 589.01 so it sees 5,89 as a whole number and not a decimal.

Can anybodu help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top