LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
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.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VSTO: Detecting Read Only status of workbook opened from Sharepoin Gary Varga Excel Programming 3 July 14th 09 12:54 PM
Programmatically determining if workbook is opened as Read Only Barb Reinhardt Excel Programming 5 July 10th 08 06:21 PM
Not Detecting Open Workbook Status - Odd?? Jenny B. Excel Discussion (Misc queries) 4 January 16th 08 12:47 AM
How do I clear read-only status on a workbook file? Karin Excel Discussion (Misc queries) 1 March 2nd 07 04:55 PM
How to read sheet of currently opened workbook Jedi[_2_] Excel Programming 1 September 11th 03 11:00 AM


All times are GMT +1. The time now is 11:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"