If my spreadsheet is in use by another user and I try to open it manually, Excel pops up a "File in use" dialogue box and nicely tells me that "MyWoorbook.xls" is locked for editing by "UserName". Therefore Excel has the ability to know who has the file open. How can my VB code do the same thing? I need to find the username so that after say, 20 mins, I can send the user a polite email reminding them to exit after use.
Any help would be much appreciated.
Thanks
RUssell
Any help would be much appreciated.
Thanks
RUssell