ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Checking and Updating (https://www.excelbanter.com/excel-programming/290999-checking-updating.html)

Robert Couchman[_4_]

Checking and Updating
 
Hi All,

please can anyone help?

i can call up a piece of information from anywhere on my
spreadsheet, but i want to know the VB code so that when i
go to close the window, if it sees that the data has been
updated then it askes the user if they would like to save
changes, then it will input the new updated data into the
correct fields.

can anyone please help?

Thank you,

Robert Couchman

Tom Ogilvy

Checking and Updating
 
based on your vague description, you would need to maintain a record of all
values that could be changed and check against each of these values with the
current values to see it they actually were changed.

You could trigger the checking in the beforeclose event.

Any solution would have to be specific to you situation which is so vague at
this point that it would not seem worthwhile to suggest anything specific.

--
Regards,
Tom Ogilvy

"Robert Couchman" wrote in message
...
Hi All,

please can anyone help?

i can call up a piece of information from anywhere on my
spreadsheet, but i want to know the VB code so that when i
go to close the window, if it sees that the data has been
updated then it askes the user if they would like to save
changes, then it will input the new updated data into the
correct fields.

can anyone please help?

Thank you,

Robert Couchman





All times are GMT +1. The time now is 06:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com