C
cjakeman
Hi,
I'm working on a small Excel application to help schedule classes for a
college department. It uses 3 worksheets to show different views of the
same timetable data organised by Room, by Course and by Tutor. These
have to be kept in sync and I use VBA to copy any change on one sheet
onto the other 2.
I'm using the Worksheet_Change event to respond to a user's edits.
After scanning the Usenet archive, I can't find any simple way to tell
the difference between an edit, a "cut and paste" and a "drag and
drop". For example, with a "cut and paste", I need to keep track of the
cell which has been cut, so that after a paste operation, I can also
remove the cut data from the other 2 sheets.
With the Worksheet_SelectionChange event as well, I'm using a state
machine to tell the difference between an edit, a "cut and paste" and a
"drag and drop". It seems to work but it's not pretty.
Does anyone know of a simpler, cleaner way?
Thanks, Chris
I'm working on a small Excel application to help schedule classes for a
college department. It uses 3 worksheets to show different views of the
same timetable data organised by Room, by Course and by Tutor. These
have to be kept in sync and I use VBA to copy any change on one sheet
onto the other 2.
I'm using the Worksheet_Change event to respond to a user's edits.
After scanning the Usenet archive, I can't find any simple way to tell
the difference between an edit, a "cut and paste" and a "drag and
drop". For example, with a "cut and paste", I need to keep track of the
cell which has been cut, so that after a paste operation, I can also
remove the cut data from the other 2 sheets.
With the Worksheet_SelectionChange event as well, I'm using a state
machine to tell the difference between an edit, a "cut and paste" and a
"drag and drop". It seems to work but it's not pretty.
Does anyone know of a simpler, cleaner way?
Thanks, Chris