Hi all,
The following code edits/adds the value of textbox2 to its corresponding cell.
The problem with it is that after updating, the values are unrecognizable and can't be used for further calculations.
- Texttocolumns solves the problem, but recording it results in an error.
- Google offered the following solution:
Although it does not gives an error it makes even more values in the column unrecognizable.
Perhaps the problem can be solved in the way the value is updated in the first place instead of fixing it afterwards.
Any ideas?
The following code edits/adds the value of textbox2 to its corresponding cell.
The problem with it is that after updating, the values are unrecognizable and can't be used for further calculations.
Code:
With LB
LI = .ListIndex
Range(.ListFillRange).Cells(LI + 1, 2).Value = TextBox2.Value
.ListFillRange = .ListFillRange
.ListIndex = LI
End With
- Texttocolumns solves the problem, but recording it results in an error.
- Google offered the following solution:
Code:
Worksheets("Database").Columns("J").TextToColumns Destination:=Range("J1"), FieldInfo:=Array(1, 1)
Although it does not gives an error it makes even more values in the column unrecognizable.
Perhaps the problem can be solved in the way the value is updated in the first place instead of fixing it afterwards.
Any ideas?