ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Macro to delete workbook after use (https://www.excelbanter.com/excel-discussion-misc-queries/95573-macro-delete-workbook-after-use.html)

Nigel

Macro to delete workbook after use
 
Hi,

Can anyone help me with a macro? i need a macro to delete a work book either
on close or if a cell is altered. the reasons are for company security
purposes where the book needs to be viewed but not kept as passwords can be
cracked and delicate information can be extracted. If i pdf it though, it is
only a viewable page where the certain functions won't work.

I need the user to be able to open the book, view and use the book but when
the book is to be saved as, it will delete. also when they close the book,
all data will not be saved and the book needs to delete itself.

Can this be achieved?

Regards,

Nigel


Ron de Bruin

Macro to delete workbook after use
 
Hi Nigel

This is possible with code but if the use disable macro's it is not working

Save the file as PDF
http://www.mvps.org/dmcritchie/excel/pdf.htm


--
Regards Ron De Bruin
http://www.rondebruin.nl



"Nigel" wrote in message ...
Hi,

Can anyone help me with a macro? i need a macro to delete a work book either
on close or if a cell is altered. the reasons are for company security
purposes where the book needs to be viewed but not kept as passwords can be
cracked and delicate information can be extracted. If i pdf it though, it is
only a viewable page where the certain functions won't work.

I need the user to be able to open the book, view and use the book but when
the book is to be saved as, it will delete. also when they close the book,
all data will not be saved and the book needs to delete itself.

Can this be achieved?

Regards,

Nigel





All times are GMT +1. The time now is 01:36 AM.

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