Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When Excel opens a workbook, it checks whether it is currently already open,
and in this case opens the workbook in read-only mode. This is good as it prevents writing conflicts. However I noticed that Excel won't check that lock, when the file is an Addin. This is understandable since an Addin is supposed to Add functionality to Excel, not store data, so that there is no need to handle concurrent access. However the Addin I made stores user data and I would like to have Excel to warn the user that the Addin is in use, whenever someone else has opened it. Is there a way to have that same warning Excel issues for workbooks, when an addin is opened by a second user? -- Stefano Gatto |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
bReadOnly = Thisworkbook.ReadOnly
Note, if all previously opened instances containing the xla get closed, this last one will remain .ReadOnly = true. Regards, Peter T "Stefano Gatto" wrote in message ... When Excel opens a workbook, it checks whether it is currently already open, and in this case opens the workbook in read-only mode. This is good as it prevents writing conflicts. However I noticed that Excel won't check that lock, when the file is an Addin. This is understandable since an Addin is supposed to Add functionality to Excel, not store data, so that there is no need to handle concurrent access. However the Addin I made stores user data and I would like to have Excel to warn the user that the Addin is in use, whenever someone else has opened it. Is there a way to have that same warning Excel issues for workbooks, when an addin is opened by a second user? -- Stefano Gatto |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
EXCEL ONLINE MULTI ACCESS | Excel Discussion (Misc queries) | |||
add-in manager just for XLAs? | Excel Discussion (Misc queries) | |||
Multi users and linking to Access | Excel Discussion (Misc queries) | |||
Software for Distribution of XLAs | Excel Programming | |||
Restricting Multi-user access | Excel Worksheet Functions |