K K Nov 4, 2008 #1 Hi all, how can i select range from B2 to last value cell to left in row 1 by macro. please can any body can help
Hi all, how can i select range from B2 to last value cell to left in row 1 by macro. please can any body can help
D Don Guillett Nov 4, 2008 #2 Sub selectrange() Range(Cells(2, 2), Cells(2, Cells(1, Columns.Count) _ .End(xlToLeft).Column)).Select End Sub
Sub selectrange() Range(Cells(2, 2), Cells(2, Cells(1, Columns.Count) _ .End(xlToLeft).Column)).Select End Sub