Hello everyone
I have in My Worksheet an UserForm contain Validation Button, and textbox for copy the written value in excel cell
So my problem is when I Click validate
the transfert of textbox value in cell, is with space
the code is
Sheets("Sheet1".Cells(i, 13) = TextBox10
and
Private Sub TextBox10_AfterUpdate()
On Error Resume Next
Dim Price As Double
Price = CCur(TextBox10)
TextBox10.Value = Format(Price, "Standard")
End Sub
So when I write on TextBox the value with be in this format : 1 234 456,10
but when I click on Validation button ,
the value past in excel sheets with spaces
So how Can we solve this problem ?
I have in My Worksheet an UserForm contain Validation Button, and textbox for copy the written value in excel cell
So my problem is when I Click validate
the transfert of textbox value in cell, is with space
the code is
Sheets("Sheet1".Cells(i, 13) = TextBox10
and
Private Sub TextBox10_AfterUpdate()
On Error Resume Next
Dim Price As Double
Price = CCur(TextBox10)
TextBox10.Value = Format(Price, "Standard")
End Sub
So when I write on TextBox the value with be in this format : 1 234 456,10
but when I click on Validation button ,
the value past in excel sheets with spaces
So how Can we solve this problem ?