how to do it in one line?

  • Thread starter Thread starter Bobby
  • Start date Start date
B

Bobby

Worksheets("Sheet1").Select
Cells(3, 2).Select

Sheets("Sheet1").Cells(3, 2).Select
This give me a: Select method of Range class failed
 
application.goto worksheets("sheet1").cells(3,2), scroll:=true

If you're selecting, the correct workbook has to be active. And the worksheet
needs to be active before you can select a range.
 
Dave said:
application.goto worksheets("sheet1").cells(3,2), scroll:=true

If you're selecting, the correct workbook has to be active. And the worksheet
needs to be active before you can select a range.
Thank you Sir.
 

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