View Single Post
  #1   Report Post  
Posted to microsoft.public.sharepoint.portalserver.development,microsoft.public.excel.programming,microsoft.public.office.developer.com.add_ins,microsoft.public.sharepoint.windowsservices.development
Gary Varga Gary Varga is offline
external usenet poster
 
Posts: 6
Default VSTO-Detecting Read Only status of workbook opened from Sharepoint

I am maintaining an VSTO3 Excel Add-in.
The Excel workbooks are loaded from SharePoint.
When you click on a workbook on the SharePoint site you get the option for
"Read Only" or "Edit".
When "Read Only" is selected you:
a) get the "[Read-Only]" in the Excel caption for the workbook
b) get a Save As dialog box when clicking the Save button
c) the workbook ReadOnly property (in VSTO) is false

In the Add-in, how can I check whether the workbook is supposed to be read
only?
--
Many thanks,
Gary Varga

Re-posted as I had no valid responses (sorry PeterT - yours didn't count)
and had logged in via an inactive MSDN account.