Hi guys,
can someone help to fix my macro?
Thanks,
Sub Trim_column()
Dim LastRow As Long
Dim Sht as Worksheet
Set Sht = ActiveWorkbook.Sheets("DataBase")
With Sht
LastRow = .Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
.Range("A2:A" & LastRow).value =...