Select Range

  • Thread starter Thread starter K
  • Start date Start date
K

K

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
 
Sub selectrange()
Range(Cells(2, 2), Cells(2, Cells(1, Columns.Count) _
.End(xlToLeft).Column)).Select
End Sub
 

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