where the shared file is Checked In but is open as writeable by another user? I would rather this avoid any user interaction, but even if we cannot avoid the 'File In Use' dialogue, I need a way to detect this and exit gracefully.
Is there any way to check for this scenario i.e. The message, 'microsoft excel locked for editing' pops up when trying to open it, and you can either do a 'read only' or 'notify'. Its an Excel file, and every now and then someone will forget to close out of it, and it will be inaccessible for hours. When attempting to open a Word or Excel file via Web Folders, if you see a message telling you it is locked for editing by another user, and offering to either open a read-only. Tags: locked for editing, Notify Categories: Desktop App, Errors, File Locking, Webfolders / WebDAV. The User in question is our previous network administrator. CanCheckOut property is TRUE (the file is no longer checked out) but a 'File In Use' dialogue is triggered at runtime by another user trying to use my tool, because the shared file is still technically open in edit mode (by someone else), despite not being Checked Out. I have an issue with a file that is used by multiple people in multiple locations. Word or Excel File Locked for Editing in Web Folders. In the last few weeks I am getting users calling me telling me that an excel document that they are trying to access is locked for editing by a user who is no longer here and has not been here for about 2 years. There is a scenario though, where a user might go into the shared file and manually edit, then check back in but not close the file immediately.
Excel file locked for editing by user code#
CanCheckOut property to see whether another user already has the document checked out (by my tool, which always Checks Out before edit, even if the library does not enforce it), with the code aborting with a message to try again later, if necessary.
However, the dialog box does not display the correct name of the user who locked the file. When you open the file in Excel 2007, a File In Use dialog box appears. To pre-empt the question: I am not sure whether the library enforces CheckOut before editing, but I am not the site owner and do not even have permissions to see this setting. xls file that is protected by Information Rights Management (IRM) on a network share. I have an Excel shared workbook stored on a legacy SharePoint 2010 document library, which needs to be opened for editing by multiple users via a VBA tool.