Changing text to number format using type casting
Hi Tomski
Insted of copy you can "copy" like this:
'wher you copy from
Dim n As Double
n = Val(Sheets("Ark2").Range("A1"))
'wher you copy to
Sheets("Ark1").Range("A1").NumberFormat = "General"
Sheets("Ark1").Range("A1") = n
Regards Yngve
|