View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default Totally Disabling (^ save ) (Save as) and Save Icon - Which code do I use:

Open the Immediate Window in VBA (Ctrl+G), and enter the
following lines, each followed by ENTER:

Application.EnableEvents = False
ThisWorkbook.Save
Application.EnableEvents = True


Of course, your users could do exactly the same thing to save the
file.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"harpscardiff"
wrote
in message
...

Herbert - Thanks alot, the code does work.

Now that i've entered the code, how do save the change ready
for the
users?


--
harpscardiff
------------------------------------------------------------------------
harpscardiff's Profile:
http://www.excelforum.com/member.php...o&userid=25960
View this thread:
http://www.excelforum.com/showthread...hreadid=483443