I would like to have an if statment in my macro that would check the status
of a workbook, and if the workbook is Read Only do something else. I can do
the then and else of the statement, I'm just not sure how to perform the IF
part of the statement. So I think my question is what is the code for a
workbook in read only status? (Not on the file folder, but because someone
else is accessing the file)
Thanks
Per Jessen - 29 May 2008 20:49 GMT
Hi
Try this:
If ActiveWorkbook.ReadOnly Then
>I would like to have an if statment in my macro that would check the status
> of a workbook, and if the workbook is Read Only do something else. I can
[quoted text clipped - 6 lines]
>
> Thanks