Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Starting a macro when switching to a worksheet?

Hi,

I would like to start a designated macro when switching to a certain
worksheet. Is there anything similiar to the AutoOpen-Method of
workbooks?

Bye
Markus

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Starting a macro when switching to a worksheet?

Worksheet_Activate() ??


knut
"Markus Mueller" skrev i melding
oups.com...
Hi,

I would like to start a designated macro when switching to a certain
worksheet. Is there anything similiar to the AutoOpen-Method of
workbooks?

Bye
Markus



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Starting a macro when switching to a worksheet?

Thanks a lot to both of you, that was exactly what I was looking for.

Bye Markus

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Starting a macro when switching to a worksheet?

Hi Markus,

Use the Worksheet_Activate event.

For more information on event procedures, see David McRitchie's Events page
at:

http://www.mvps.org/dmcritchie/excel/event.htm

For an in depth discussion of Event procedures see Chip Pearson's Events
page at:

http://www.cpearson.com/excel/events.htm


---
Regards,
Norman


"Markus Mueller" wrote in message
oups.com...
Hi,

I would like to start a designated macro when switching to a certain
worksheet. Is there anything similiar to the AutoOpen-Method of
workbooks?

Bye
Markus



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
switching the worksheet? Eddie Excel Discussion (Misc queries) 1 April 24th 06 06:09 AM
Not switching to next worksheet G Setting up and Configuration of Excel 2 November 23rd 05 03:33 PM
Switching to a tab in the worksheet Alex Martinez Excel Programming 1 September 27th 05 06:57 AM
selecting cell range in other worksheet without switching to worksheet suzetter[_4_] Excel Programming 4 June 22nd 05 08:55 PM
Prevent Users from switching worksheet Elie[_2_] Excel Programming 5 November 26th 03 11:54 AM


All times are GMT +1. The time now is 04:28 PM.

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

About Us

"It's about Microsoft Excel"