Worksheet activate

L

Lee Hunter

Follwing is part of some code I'm using. The worksheet
activate is not invoked when it's workbook is open, but
is invoked when it is manually activated. That is, when
I activate another sheet and then activate sheet 2 again.

What am I overlooking?

Thanks!

Private Sub App_WorkbookOpen(ByVal Wb As Workbook)
Worksheets("sheet2").Activate
End Sub
Private Sub Worksheet_Activate()
Dim MyRange, answer, mess, startR As Range, endR As
Range, MRange As Range
Set MyRange = Range("a7")
MyRange.Select
 

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

Top