
Signature
Regards,
Nigel
nigelnospam@9sw.co.uk
> We have a spreadsheet used by multiple people from within MS Sharepoint.
>
[quoted text clipped - 24 lines]
>
> Thanks for your help!
Thanks for your reply ... unfortunately, we have just started
customizing/using Sharepoint & our IT resources are tied up with other
Sharepoint issues that take higher precedence ... bottom line, they won't be
able to get to it for months.
Any way to do what I want from within Excel? Even just the 1st piece would
be a big help to us.

Signature
JoAnn
> Check the features and functions of SharePoint, I am pretty sure you can do
> all you want from there. You might need to get your IS department to set it
[quoted text clipped - 28 lines]
> >
> > Thanks for your help!
Nigel - 27 Mar 2008 08:08 GMT
' This function checks to see if a file is open or not. If the file is
' already open, it returns True. If the file is not open, it returns
' False. Otherwise, a run-time error will occur because there is
' some other problem accessing the file.
Function IsFileOpen(filename As String)
Dim filenum As Integer, errnum As Integer
On Error Resume Next ' Turn error checking off.
filenum = FreeFile() ' Get a free file number.
' Attempt to open the file and lock it.
Open filename For Input Lock Read As #filenum
Close filenum ' Close the file.
errnum = Err ' Save the error number that occurred.
On Error GoTo 0 ' Turn error checking back on.
' Check to see which error occurred.
Select Case errnum
' No error occurred.
' File is NOT already open by another user.
Case 0
IsFileOpen = False
' Error number for "Permission Denied."
' File is already opened by another user.
Case 70
IsFileOpen = True
' Another error occurred.
Case Else
Error errnum
End Select
End Function

Signature
Regards,
Nigel
nigelnospam@9sw.co.uk
> Thanks for your reply ... unfortunately, we have just started
> customizing/using Sharepoint & our IT resources are tied up with other
[quoted text clipped - 45 lines]
>> >
>> > Thanks for your help!