I have a networked workbook. 5 people input data into it. What the
problem is when its opened as quot;read onlyquot; its not noticed and all data
input then when come to save its noticed its read only and book has to
be closed loosing all data input.
Is there anyway that a message box can appear saying its read only when
opened as read only so it stops putting in data then realising.--
tweacle
Private Sub Workbook_Open()
If ThisWorkbook.ReadOnly Then
MsgBox quot;This workbook is read-onlyquot;
End If
End Sub
This is workbook event code.
To input this code, right click on the Excel icon on the worksheet
(or next to the File menu if you maximise your workbooks),
select View Code from the menu, and paste the code--
HTH
Bob Phillips
(remove nothere from the email address if mailing direct)
quot;tweaclequot; gt; wrote in message
...
gt;
gt; I have a networked workbook. 5 people input data into it. What the
gt; problem is when its opened as quot;read onlyquot; its not noticed and all data
gt; input then when come to save its noticed its read only and book has to
gt; be closed loosing all data input.
gt;
gt; Is there anyway that a message box can appear saying its read only when
gt; opened as read only so it stops putting in data then realising.
gt;
gt;
gt; --
gt; tweacle
- Mar 13 Thu 2008 20:43
Help with a read only frustration.
close
全站熱搜
留言列表
發表留言
留言列表

