JosephP ,
Thanks for your patience.
I figured out what to do , but it might not be good programming.
I actually , as you also suggested , reassign the value to the cell by using the following code :
Do
' reassign the value to the cell.
ActiveCell.Offset(0, 2).Value = ActiveCell.Offset(0, 2).Value
' check if the value is numeric or text
If IsNumeric(ActiveCell.Offset(0, 2).Value) = True Then
VTtype = 0
VoertuigType = CDbl(ActiveCell.Offset(0, 2).Value)
Else
VTtype = 1
VoertuigType = ActiveCell.Offset(0, 2).Value
End If
DossierBoeker = ActiveCell.Offset(0, 15).Value
Dispatcher = ActiveCell.Offset(0, 17).Value
Thank you for your time.
If you have another approach to reassign the value , pls let me know.
Kind regards
Mario
Bookmarks