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/414761-how-inhibit-save-allow-save.html)

G Lykos

How to inhibit save, allow save-as?
 
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 06:08 PM.

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