Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
There is no event as such but you could do something like that: Far away on your sheet name a cell like abc end then add the following code to the module of that sheet: Private strPlace As String Private Sub Worksheet_Activate() strPlace = Range("abc").Address End Sub Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Range("abc").Address < strPlace Then 'do some code strPlace = Range("abc").Address End If End Sub -- JP http://www.solutionsvba.com "Dima K." wrote in message ... I was wondering if it's possible to use an event such as a user inserting a row in one worksheet to start a macro/module automatically? thanks for any help and example code. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro driven record locator. | Excel Discussion (Misc queries) | |||
What code do I use to attach event handler that will open my user. | Excel Worksheet Functions | |||
How can I expose the TextBox BeforeUpdate event to my user class? | Excel Discussion (Misc queries) | |||
user event driven macro issue | Excel Programming | |||
Text Box on User Form Set Focus Issue | Excel Programming |