Hello, can I know where the error is in the code?
Code:
Sub Macro1()
Dim LastRow As Long
With Worksheets("sh")
LastRow = .Cells(Rows.Count, "h").End(xlUp).Row
Range("k:k,N:N,Q:Q,T:T,W:W,Z:Z,AC:AC,AF:AF,AI:AI" & LastRow).Select
Selection.NumberFormat = "m/d/yyyy"
Range("a1").Select
End With
End Sub