+ Reply to Thread
Results 1 to 3 of 3

Workbooks.open but skip files that are in Read-only mode

  1. #1
    Registered User
    Join Date
    08-04-2020
    Location
    israel
    MS-Off Ver
    2016
    Posts
    8

    Workbooks.open but skip files that are in Read-only mode

    Hi,
    I have loop that goes that loops through bunch of file open them, refresh them and save them.
    I want the procedure to skip the files that are in read-only mode and only open those file that are not in read-only mode.

    Thanks

  2. #2
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,498

    Re: Workbooks.open but skip files that are in Read-only mode

    "refresh them"
    What do you mean by that?

  3. #3
    Forum Contributor
    Join Date
    01-02-2020
    Location
    Idaho, USA
    MS-Off Ver
    365
    Posts
    273

    Re: Workbooks.open but skip files that are in Read-only mode

    This will check if a file is read only:

    Please Login or Register  to view this content.

+ 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. Code to open file read only mode in network
    By Deci in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-16-2019, 08:36 AM
  2. Workbooks open in Read Only mode
    By Hook in forum Excel General
    Replies: 6
    Last Post: 03-14-2012, 11:27 PM
  3. Replies: 1
    Last Post: 03-13-2012, 03:19 PM
  4. Skip The Read Only Prompt When I Open A File - Excel, Open it read-write instead.
    By harry_1805 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-06-2012, 02:14 AM
  5. How to make Workbooks.Open skip password protected files
    By hoffey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-24-2009, 11:01 AM
  6. open the excel program in read only mode
    By pestw in forum Excel General
    Replies: 9
    Last Post: 11-05-2008, 04:59 PM
  7. skip the read only prompt when I open a file
    By punter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2008, 09:11 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