Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default user changes sheet1 - have the macro xyz run on sheet3

How do I do this?

Whenever the user changes anything on sheet1 to have the macro xyz run on
sheet3.


--

DL



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default user changes sheet1 - have the macro xyz run on sheet3

Tegger,

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

XYZ


End Sub

Put this in the worksheet cod module.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"tegger" wrote in message
...
How do I do this?

Whenever the user changes anything on sheet1 to have the macro xyz run on
sheet3.


--

DL





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default user changes sheet1 - have the macro xyz run on sheet3

Bob,

This won't catch formatting changes or editing in cell (without moving to
next cell). And there are a few other things that won't trigger the event.

The question was "anything" and I don't have an answer to that!

--
sb
"Bob Phillips" wrote in message
...
Tegger,

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

XYZ


End Sub

Put this in the worksheet cod module.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"tegger" wrote in message
...
How do I do this?

Whenever the user changes anything on sheet1 to have the macro xyz run

on
sheet3.


--

DL







  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default user changes sheet1 - have the macro xyz run on sheet3

Steve,

I actually meant Worksheet_Change not Worksheet_selectionnChange. I also
never read anything as you did, I read it as any cell. I winder what he
actually means?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"steve" wrote in message
...
Bob,

This won't catch formatting changes or editing in cell (without moving to
next cell). And there are a few other things that won't trigger the

event.

The question was "anything" and I don't have an answer to that!

--
sb
"Bob Phillips" wrote in message
...
Tegger,

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

XYZ


End Sub

Put this in the worksheet cod module.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"tegger" wrote in message
...
How do I do this?

Whenever the user changes anything on sheet1 to have the macro xyz run

on
sheet3.


--

DL









  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default user changes sheet1 - have the macro xyz run on sheet3

Bob,

Yep! Happens to us all (especially me).
But following this group is teaching me to watch all the nuances of the
question. And it sounds like he might be looking to track any messing
around along with standard changes. But I could be wrong.

Like you said "I winder what he actually means?"

--
sb
"Bob Phillips" wrote in message
...
Steve,

I actually meant Worksheet_Change not Worksheet_selectionnChange. I also
never read anything as you did, I read it as any cell. I winder what he
actually means?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"steve" wrote in message
...
Bob,

This won't catch formatting changes or editing in cell (without moving

to
next cell). And there are a few other things that won't trigger the

event.

The question was "anything" and I don't have an answer to that!

--
sb
"Bob Phillips" wrote in message
...
Tegger,

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

XYZ


End Sub

Put this in the worksheet cod module.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"tegger" wrote in message
...
How do I do this?

Whenever the user changes anything on sheet1 to have the macro xyz

run
on
sheet3.


--

DL













  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default user changes sheet1 - have the macro xyz run on sheet3

That's exactly what I needed thanks.

DL


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
What to do to run macro on sheet1 to sheet10 Harshad[_2_] Excel Discussion (Misc queries) 6 October 20th 08 01:15 PM
Using Macro, want to group all Worksheets, but Sheet1,How? Dandelo Excel Discussion (Misc queries) 3 July 20th 06 04:26 PM
Macro-Copy various cells in sheet1 into next available row in sheet 2 lunker55 Excel Discussion (Misc queries) 7 October 21st 05 11:05 PM
Modifying Sheet1 macro to run on Sheet2 Sharon Excel Discussion (Misc queries) 6 April 28th 05 01:21 PM
consoildate all the worksheet(example sheet1,sheet2 and sheet3 etc officeboy Excel Worksheet Functions 1 November 4th 04 04:16 PM


All times are GMT +1. The time now is 01:36 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"