+ Reply to Thread
Results 1 to 6 of 6

force save as only if activeworkbook name matches master

  1. #1
    Registered User
    Join Date
    02-19-2012
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    24

    force save as only if activeworkbook name matches master

    Okay, I have

    Please Login or Register  to view this content.
    Which opens the save as box every time a file is opened. I would like to ONLY open the save as box if the activeworkbook name = "Master". If it is named anything other than "Master" then it would have been saved as before and the save as box should not appear.

    I have the Master set as read only under properties when you right click it but I am just looking for another way to help keep it from overwrite. I know little to nothing about vba/excel but would think they could easily right click it themself and take teh read only off just to be a donkey and mess it up without additional protection.

    I figure a simple IF / THEN would be used to accomplish the above, but I am a total noob and there is nothing "simple" about this for me, and I have searched for a while with no solution from web that worked for me.

    Thanks in Advance!
    Last edited by smalltime06; 02-27-2012 at 11:20 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: force save as only if activeworkbook name matches master

    Possible this would work
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-19-2012
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: force save as only if activeworkbook name matches master

    I was excited for a second.. but I didnt get that to work. It will not bring up the save as no matter what the name is now, Master or other.. Thanks a lot though.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: force save as only if activeworkbook name matches master

    Well it is not supposed to come up if the name is other than "Master"
    I guess it should be Master.xlsm
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-19-2012
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: force save as only if activeworkbook name matches master

    BINGO - Thank you a lot. Simple and effective. Thanks!

    “Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.”
    ― Albert Einstein

  6. #6
    Registered User
    Join Date
    02-19-2012
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: force save as only if activeworkbook name matches master

    So would it be something similar to this but on close for : http://www.excelforum.com/excel-work...d-to-view.html

+ 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