Left Worksheet Function

  • Thread starter Thread starter matt
  • Start date Start date
M

matt

How can I apply the Left Worksheet function to an entire
column. (i.e: truncate entire A: column). Any help is
much appreciated as always. thanks, matt.
 
You posted in programming so I give you a macro solution

You need a loop like this.
It will remove 3 characters

For Each cell In Columns("A").SpecialCells(xlCellTypeConstants)
On Error Resume Next
cell.Value = Left(cell.Value, Len(cell.Value) - 3)
On Error GoTo 0
Next
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top