kelly mort
Well-known Member
- Joined
- Apr 10, 2017
- Messages
- 2,169
- Office Version
- 2016
- Platform
- Windows
Code:
Private Sub lstView_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
Dim n As Integer, ac As Integer, i As Integer
i = Me.lstView.ListIndex
With lstView
For ac = 1 To .ColumnCount
.TextColumn = ac
Me.Controls("Rw" & ac).Value = .Text
Next ac
End With
End Sub
I am using this code to load data to my textboxes. The number columns are formatted to accounting and the comma is affecting my calculations on the userform. Textboxes with those comma are not calculated.
so I am looking for a way to remove any comma when I load the textboxes with the above code. It can be, remove the comma before the data reaches the textbox or load it before removing it.
Whatever works is cool. But the earlier is cooler
Thanks