+ Reply to Thread
Results 1 to 2 of 2

Save data to Read Only file

  1. #1
    Registered User
    Join Date
    09-23-2016
    Location
    South Bend, Indiana
    MS-Off Ver
    2016
    Posts
    3

    Save data to Read Only file

    Hi Everyone, I have a spreadsheet that has 2 tabs that go out to a database to get data. After the data is updated I would like save the file, but I keep the document as Read Only. So, is there a way to turn Read Only off, save the document, and then set it back to Read Only; all as the workbook is open?

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Save data to Read Only file

    Maybe something like this ?

    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

+ 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. [SOLVED] How do I save a file as non-read only from a read only
    By tomneedshelp in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-28-2016, 11:17 AM
  2. [SOLVED] Save file as read-only
    By mohan.r1980 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-16-2015, 11:44 AM
  3. [SOLVED] Disable save and prevent "Do you want to save" message from prompting for read-only file
    By hcyeap in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-12-2014, 12:29 AM
  4. [SOLVED] How can I save an Excel file which says it's a Read only to a CD?
    By Cindy Who in forum Excel General
    Replies: 2
    Last Post: 03-24-2006, 07:19 PM
  5. Replies: 0
    Last Post: 11-29-2005, 10:00 PM
  6. [SOLVED] Trying to save a .XLA file that's Read Only
    By silkworm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-11-2005, 09:25 PM
  7. [SOLVED] How do I save a read only file or folder?
    By Dick in forum Excel General
    Replies: 3
    Last Post: 03-04-2005, 12:06 AM

Tags for this Thread

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