Question : Excel and Sharepoint locking issue

Hi,

I have a company using Sharepoint to share an Excel document, that's then hosted in a Citrix environment to their remote sites.
One user (only 1 apparently) opens the excel document, and after a short time the document becomes "available" for other users and they can edit it. When that happens, user 1 now has a read only file and has to save a copy if she wants to save her work at all.
Anyone have any ideas?

Thanks!

Answer : Excel and Sharepoint locking issue

optimus_nz,

>Anyway can I lock [it] that so they can't change it?

Place the following sub in the Thisworkbook VBA code module:

Private Sub Workbook_Open()
    'Greys out the ShareWorkbook menu item
    CommandBars(1).Controls(6).Controls(4).Enabled = False
End Sub

It will 'grey-out' the Tools/Shareworkbook menu item. Having done that it would be sensible to protect the VBA project so that someone cannot disable the macro.

Hope that helps

Patrick

Random Solutions  
 
programming4us programming4us