I have a workbook which has two copies of the same data (one in a hidden sheet). This is so that users can make changes to the data and it will track the changes. That works fine using an index formula but I also want to use conditional highlighting to show the cells which the user has changed.
If the user just types into the cells and deletes then all is fine (I have a separate conditional for each cell of the type =g3<>check!g3. This isn't a problem since the sheet is being generated automatically from my application.
If the user copies and pastes, or drags and drops the cell then the rule moves with the cell and it doesn't work properly.
Things I have tried:
=INDEX($1:$100,4,5)<>INDEX(Check!$1:$100,4,5)
This sort of works - it does highlight the place that the new data is dropped, but it doesn't highlight the 'gap' left behind (which is obviously also a change). My other formulae for getting the changes uses this method - Check!C4 = INDEX(Data!$1:100,3,4) which is fine because in that case the formula is on the check sheet which isn't being manipulated by the user.
I have also tried to access the undo list in vba to detect a copy/paste which is fine as far as it goes, but it doesn't seem to have any members to specify what was copied/pasted just the fact that such an event happened.
I did see a post from someone who said that 'locking the cells; fixed the problem but when he was asked for clarification did not respond.
I hope someone can help with this!
Thanks
Tim
If the user just types into the cells and deletes then all is fine (I have a separate conditional for each cell of the type =g3<>check!g3. This isn't a problem since the sheet is being generated automatically from my application.
If the user copies and pastes, or drags and drops the cell then the rule moves with the cell and it doesn't work properly.
Things I have tried:
=INDEX($1:$100,4,5)<>INDEX(Check!$1:$100,4,5)
This sort of works - it does highlight the place that the new data is dropped, but it doesn't highlight the 'gap' left behind (which is obviously also a change). My other formulae for getting the changes uses this method - Check!C4 = INDEX(Data!$1:100,3,4) which is fine because in that case the formula is on the check sheet which isn't being manipulated by the user.
I have also tried to access the undo list in vba to detect a copy/paste which is fine as far as it goes, but it doesn't seem to have any members to specify what was copied/pasted just the fact that such an event happened.
I did see a post from someone who said that 'locking the cells; fixed the problem but when he was asked for clarification did not respond.
I hope someone can help with this!
Thanks
Tim