Hi,
The below code was originally written to work for excel 2007 and does as follows:
If BOOK1.xlsm is being used by another user on the network then the code will open BOOK1.xlsm as readonly and at the same time write the password abc123 which protects the workbook, but if no one is using the workbook then the code will open BOOK1.xlsm in regular read-write format and again at the same time write in the password abc123.
I now use Excel 2010 and when I ran this code on the 2010 version one part of the code did not work, I did not get any error messages but when the code opened the workbook in readonly format i was prompted by excel to enter the password.
Any help on this issue would be greatly appreciated.Please Login or Register to view this content.
Thanks in advance.
Bookmarks