Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2008

Tip: Looking for answers? Try searching our database.

Any way to be notified if someone else is in the same sheet?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JoAnn - 26 Mar 2008 18:24 GMT
We have a spreadsheet used by multiple people from within MS Sharepoint.  

1st ... I'm looking for a way to generate a message that tells the user that
someone else is in the spreadsheet as soon as they open it. My current plan
is to tell them it's in use & to enter their data then use File >Send to to
send it to me for later posting.

All files automatically appear with a "READ ONLY" indicator when we open
them from within Sharepoint, so I can't rely on that as an indicator.

2nd ...  I would ultimately like to create some kind of temporary
collection/storage sheet or form that allows users to enter their information
& save it individually until it can be merged with the real spreadsheet.

Preferably something that can be accessed by multiple users & generate
individual docs/sheets -- like Word users clicking a template & generating an
individual doc off the template instead of the template itself.

Does anyone have any idea how I can do either of these things? I've written
some macros & created user forms in Word but nothing in Excel yet.

Thanks for your help!

Signature

JoAnn

Nigel - 26 Mar 2008 18:54 GMT
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
up if you are on a business network.

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!
JoAnn - 26 Mar 2008 20:21 GMT
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!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.