R
Rich Wallace
All,
I need to write up a solution that will trap an Excel spreadsheet when a
user opens it and after they make changes to the file, I need to 'copy' the
new saved version of the spreadsheet and perform a comparision so that I
cand extract only those Cells that have been altered since it was opened.
I've looked into using WithEvents and Delegates options but I don't
necessarily need the changed data on an event drive basis as far as
immediate changes to a cell are made.
I'm trying to generate an XML representation of data changes but I'm
currently only able to write teh XML each time the spreadsheet is saved,
which makes for a very large XML document. Here is a logical idea of what
I'm trying to do:
1. When a spreadsheet is opened, maintain a copy of it before it is altered
2. User updates the spreadsheet, saves and closes
3. Upon the closing of teh spreadsheet, I grab a new copy of the saved
spreadsheet
4. Perform a side by sid ecomparison to locate the cells and data of what
was changed.
5. Create XML off of changes cells only
Any ideas?
TIA
-Rich
I need to write up a solution that will trap an Excel spreadsheet when a
user opens it and after they make changes to the file, I need to 'copy' the
new saved version of the spreadsheet and perform a comparision so that I
cand extract only those Cells that have been altered since it was opened.
I've looked into using WithEvents and Delegates options but I don't
necessarily need the changed data on an event drive basis as far as
immediate changes to a cell are made.
I'm trying to generate an XML representation of data changes but I'm
currently only able to write teh XML each time the spreadsheet is saved,
which makes for a very large XML document. Here is a logical idea of what
I'm trying to do:
1. When a spreadsheet is opened, maintain a copy of it before it is altered
2. User updates the spreadsheet, saves and closes
3. Upon the closing of teh spreadsheet, I grab a new copy of the saved
spreadsheet
4. Perform a side by sid ecomparison to locate the cells and data of what
was changed.
5. Create XML off of changes cells only
Any ideas?
TIA
-Rich