This may seem too easy, but I am so desperate.
What I need to do is get the last value of the column "D" which has a
big amount of number, ex. 987654321, the code is fine if the value is only two-digit. I just can't identify the problem.
Dim lastRow As Long
lastRow = Cells(Rows.Count, "D").End(xlUp).Value
Sheets("Sheet1").TxtBox1.Value = lastRow
3000000000declarelastRowasDouble