+ Reply to Thread
Results 1 to 1 of 1

Disable/Enable Save and Save As

  1. #1
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,837

    Disable/Enable Save and Save As

    I am using a macro which saves a file automatically to the Desktop. What I would like to do is disable Save/Save As using VBA code immediately after the file is automatically saved to prevent it from being saved again. I would also like to disable the 'Save/Save As' window from opening when the file is closed. I have tried using the 'Before_Save' and 'Before_Close' events but the 'Before_Save' event prevents the macro from automatically saving the file. Could this be done using some lines of code in my macro rather than using the 'Before' events? I then need some code to enable 'Save/Save As' in another macro. Any suggestions would be greatly appreciated.

    Also posted at: http://www.mrexcel.com/forum/excel-q...ml#post3485698
    Last edited by Mumps1; 06-01-2013 at 01:55 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1