Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Worksheet activate

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Worksheet activate

Where are you calling App_WorkbookOpen from

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Worksheet activate

From this link I understood that this event was triggered
by just opening the workbook. Not Correct?

http://support.microsoft.com/default.aspx?scid=kb;en-
us;213220&Product=vba

-----Original Message-----
Where are you calling App_WorkbookOpen from?


---
Message posted from http://www.ExcelForum.com/

.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to activate the scrolling within the worksheet? sridhar Excel Discussion (Misc queries) 0 July 24th 08 10:08 AM
Help! Activate worksheet from a listbox Bob Phillips Excel Worksheet Functions 0 May 18th 05 09:09 AM
Worksheet.activate Jeff Excel Discussion (Misc queries) 1 December 14th 04 01:52 PM
Run Macro on Worksheet Activate Matthew John Antoszkiw Excel Programming 2 February 23rd 04 12:01 PM
delayed worksheet.activate Rune_Daub[_5_] Excel Programming 4 November 3rd 03 02:13 PM


All times are GMT +1. The time now is 01:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"