+ Reply to Thread
Results 1 to 2 of 2

Stop Displaying "Read Only Error" when saving

  1. #1
    Registered User
    Join Date
    06-19-2013
    Location
    Sheffield
    MS-Off Ver
    Excel 2013
    Posts
    86

    Stop Displaying "Read Only Error" when saving

    Hi,
    I'm working on a read only workbook. I'd like to run a sub when clicking the save button.
    Excel doesn't allow me doing it since it's displaying the "Read Only error message" which prevents the sub to run.
    I've tried with the following code but it's not working:
    Please Login or Register  to view this content.
    Thanks

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Stop Displaying "Read Only Error" when saving

    Hi BrianAll,

    If you run the following code prior to activating SAVE or SAVE AS, the file attributes will be changed from 'Read Only' to 'Read/Write' and you will be allowed to save the file.
    Please Login or Register  to view this content.
    I would propose a full solution, but I don't know what the 'big picture' is.

    Lewis

+ 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. if data file is opened as read only, then the macro gives an "error" message
    By leeluquem in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-13-2014, 11:13 PM
  2. [SOLVED] Stop Users Saving Macro Enabled File as ".xlsx"
    By OzTrekker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2012, 11:33 PM
  3. Error on saving: ActiveX listbox "does not support saving"
    By skysurfer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-11-2012, 06:54 PM
  4. "File listings stop unexpectedly - error 1004".
    By jeskit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2011, 05:45 AM
  5. Replies: 1
    Last Post: 06-05-2006, 08:20 AM
  6. stop users from saving their file over "master" if same name
    By ruddojo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-01-2006, 12:50 AM
  7. Error message "Unable to read file"
    By Jecakias in forum Excel General
    Replies: 0
    Last Post: 03-11-2005, 01:53 PM

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