Serious problem with "Select"

  • Thread starter Thread starter artmajster
  • Start date Start date
A

artmajster

I have something like that in Sheet1:

Sub first()
Worksheets("Sheet2").Activate
Range("A2").Select

End Sub

and it does'n work :( why ?? Could you me how can I fix it ?
 
You cannot select anything in Sheet2 from code in Sheet1. If you pu
the code in a module (Insert | Module), it will work.
 
Try

Sub first()

Worksheets("Sheet2").Activate
ActiveSheet.Range("A2").Select

End Su
 

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