+ Reply to Thread
Results 1 to 2 of 2

Block usage of master file unless it has been saved into another folder

  1. #1
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Florida
    MS-Off Ver
    Home -Excel 2007, Work 2016
    Posts
    254

    Block usage of master file unless it has been saved into another folder

    Master worksheet resides in "Do not run here. Save In Job folded and run there" folder.
    Want to make sure users can not do a Save if it would save into current folder with current name.
    I prefer a macro to block data entry if not saved elsewhere, but will take any solutions you smart and wise individuals suggest.
    Not attaching workbook as I can not see how it could matter.
    Thanks in advance

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Block usage of master file unless it has been saved into another folder

    You need to paste this code into your "This Workbook" Macro Module.

    Select the developer tab. Select Visual Basic

    Find your workbook and select the "This Workbook" module.

    Paste this module in the module.

    Close Visual Basic and save the Workbook....... Ahhh How can you do that?

    You need to enter a password to override the Macro. Password is Mehmet. Obviously you can change that.


    Please Login or Register  to view this content.
    Last edited by mehmetcik; 02-26-2020 at 07:07 AM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Open the last saved file paste in master file"
    By Mohan Chalageri in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-03-2020, 02:39 AM
  2. When file saved with name other than Master, need instructional text on sheet to go away
    By ILoveStMartin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-23-2019, 02:03 PM
  3. Opening the most recent file saved to a folder
    By athyeh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2015, 08:50 PM
  4. How to block access for Save as excel file in Same folder
    By Nisar.mohammed in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-06-2015, 09:51 AM
  5. Replies: 0
    Last Post: 04-16-2012, 10:57 AM
  6. One Master File that will be cut rows and saved into numerous files
    By asian_xl in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-31-2009, 12:22 AM
  7. Replies: 0
    Last Post: 08-17-2005, 11:05 PM

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