ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to inhibit save, allow save-as? (https://www.excelbanter.com/excel-programming/414762-re-how-inhibit-save-allow-save.html)

G Lykos

How to inhibit save, allow save-as?
 
The desired behavior would I suppose be similar to that of a template - when
you go to save it, it prompts you for a new file name.

Thanks again!


"G Lykos" wrote in message news:...
Greetings! From within a module, with the user already having opened a
workbook, would like to inhibit the user being able to save back on top of
the original file since I'm modifying data, but allow the user to save-as
under another name if desired, all to occur when closing the workbook.

Imagined sequence would look like: as the user closes the workbook
following changes, is asked via standard dialog box if wants to save
changes, and/but if so, then proceeds to save-as dialog box prompting for
file name.

Thanks in advance for ideas!
George






All times are GMT +1. The time now is 09:19 PM.

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