So i have this working but some days the data in Column P is blank then the "Last Column" stops at P when actually the last column could be S or T or what ever. Here is what i have so long:
Sub trledSCB() ActiveSheet.ListObjects("MItrled").Range.AutoFilter Field:=1 ActiveSheet.ListObjects("MItrled").Range.AutoFilter Field:=1, Criteria1:= _ "836553196" lastCol = ActiveSheet.Range("b4").End(xlToRight).Column Lastrow = ActiveSheet.Cells(4, 1).End(xlDown).Row ActiveSheet.Range("b4", ActiveSheet.Cells(Lastrow, lastCol)).Select End Sub I hope you guys can help me here?