I have written a procedure which loops through a large number of .xlsx files on a SharePoint server and aggregates data from each into a master file.
My problem is that at any given time, the individual files may be checked out for editing by another user, producing this message:
I need a VBA solution to use the default "View a read-only copy" option, and UNCHECK the "Receive a notification when the server file is available" option.
Using some of the standard options in the Workbooks.Open method should get you to the point wherw you can open a read-only instance without notification.