I don't know of any event that triggers from a "paste" action,
and it may end up becoming too complex for your situation,but what I've done in 
the past is:
Since Public variables maintain their values within the Excel instance, even 
when macros are not running:
Use the SelectionChange event to store the values of cells "selected" into 
PUBLIC variables.
then, use the change event to compare the before/after values of the cells.
alternately:
Use the Sheet Activate event to store the current values of the newly activated 
sheet into PUBLIC variables.Use the Deactivate event to check to see what cells 
do not match the Public variables and report the changes.

 Paul-----------------------------------------
“Do all the good you can,
By all the means you can,
In all the ways you can,
In all the places you can,
At all the times you can,
To all the people you can,
As long as ever you can.” - John Wesley
----------------------------------------- 

    On Thursday, June 23, 2016 11:55 AM, Shaw McAllan <shaw.mcal...@gmail.com> 
wrote:
 

 Evening, All! I've got a log working on my spreadsheet. So far it logs who 
(and when) the workbook itself was opened, saved or closed.  What I'd also like 
is to know if someone pastes - or deletes - data from each individual sheet 
within the workbook. We update the spreadsheet monthly; initially deleting the 
previous months info and then pasting loads of data for the current month on 
each sheet.  Unfortunately the number of data rows (and the number of columns) 
always varies month-to-month. Is there some vba code that can easily say "user 
pasted data into "sheet1" or "user removed data from "sheet2" as necessary?  I 
thought that, perhaps, workbook_change would be useful but since I can't know 
in advance what the range of data pasted (or deleted) will be, I'm not sure 
that I can use it. Thanks for any help. -S -- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


  

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

Reply via email to