Steve has a read-only workbook that multiple users can access. They can modify cells but not save their work. On exiting the workbook, Steve wants Excel to just close without informing the user that it is read-only and giving them the option of saving a copy.
This is best accomplished by using a macro to modify the Saved flag in the workbook, just before closing. This flag indicates, internally, whether a workbook needs saving or not. If the flag is False, then Excel knows that the workbook has not been saved (changes have been made without saving). If your macro sets the flag to True, then Excel will close directly because it thinks that all the changes have been saved.
Here's what the macro should look like, at its simplest:
Microsoft Accredited IT Training Provider
Microsoft Certified Training Materials
IT Training Courses delivered by Microsoft Accredited Facilitators
Microsoft MOS Test Centre London
No comments:
Post a Comment