Results 1 to 2 of 2
  1. #1
    MatthewR is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2015
    Posts
    118

    Allow User to Open File, but Do Not Allow to Save in Folder

    I'm trying to write VBA that would allow users to open a file- but I don't want them to be able to save the file in the folder I have it in.



    In other words, if they open a Word document and click Save, the Save As dialog will open and prompt them to save in another folder. But I don't want to make the files read only.

    In other word, I want these files to function like files you download from an e-mail attachment. When you open a file from an attachment and hit save, it prompts you to Save As, even though the file is not read only.

    Any idea how I do this with VBA? Thanks.

    Matt

  2. #2
    MatthewR is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2015
    Posts
    118
    Oh, wait. E-mail attachments are read-only. So, I'm guessing if I don't want the user to save a file with the same name in the same folder, I have to make it read-only. Okay, nevermind.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 9
    Last Post: 02-18-2016, 10:38 AM
  2. Save file as a different user to a network folder
    By rstruck in forum Programming
    Replies: 4
    Last Post: 05-10-2014, 04:53 PM
  3. Replies: 3
    Last Post: 02-22-2013, 06:41 AM
  4. Open,new and save as an excel target file
    By dacodac in forum Programming
    Replies: 7
    Last Post: 01-31-2013, 05:25 AM
  5. Replies: 21
    Last Post: 08-20-2012, 11:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums