in Excel without VBA, you can use the formula: = LEFT (A1,3)
With VBA, you can do the following:
For Each cell In ws.Range("A:A").Cells cell.Offset(0, 1).Value = Left(cell.Value, 3) Next cell
Please note that I changed the range. You probably want to limit, since "A: A" will take some time.
The offset function says: "Use cell 1 to the right of the current cell."
source share