Weeble
Board Regular
- Joined
- Nov 30, 2016
- Messages
- 95
- Office Version
- 365
Code:
Dim emptyRow As Long
Worksheets("Tider").Activate
'Determine emptyRow
emptyRow = WorksheetFunction.CountA(Range("A:A")) + 1
'Transfer information
Cells(emptyRow, 1).Value = CDbl(DateText.Value)
Cells(emptyRow, 6).Value = CDbl(UserText.Value)
Cells(emptyRow, 7).Value = CDbl(P10Text.Value)
If a user Enter 2.5 instead of 2,5 ( dot instead of comma ) When I transfer the data to my sheet 2.5 becomes 25.
Is there any way to change my current code in an easy way so that VBA converts it to a comma if user has input a dot?
I searched for many different solutions. But none that I could implement easy into my code.