+ Reply to Thread
Results 1 to 5 of 5

entries at the same time in shared workbook

  1. #1
    Registered User
    Join Date
    08-19-2004
    Posts
    22

    entries at the same time in shared workbook

    Hi everyone,
    Let`s say I have one workbook which is shared by 40 different users on
    a network,this workbook has 3 objects such as,userform1,textbox1 and
    commandbutton1.Once commandbutton1 pressed the following code is
    activeted;
    Private Sub CommandButton1_Click()
    Cells(Rows.Count, "A").End(xlUp).Offset(1, 0).Select
    Selection.Value = TextBox1.Value
    End Sub
    it`s very basic right?But if user A,user B and user C open this
    workbook from different computer and press the commandbutton1 before
    they save the workbook there will be a message for ;three different
    users try to change the cell value,which entry excel needs to
    consider(sorry I don`t literary remember this message by word)is there
    a way to prevent that message and textbox1.value enter in the next
    below cell?If the question is not clear please let me know.
    Thanks for your help.

    Best Regards,
    Baha

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Sharing a workbook like that is not ideal. I think Access copes better than Excel in such situations.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Forum rules

    bahadirakcan


    Please read forum rules & wrap your VBA code

    A thread with the rules is available at the top of each forum or see links below

    If you do not understand the VBA code wrap instructions have a look at my last reply in this thread
    http://www.excelforum.com/showthread.php?t=583950
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  4. #4
    Registered User
    Join Date
    08-19-2004
    Posts
    22

    corect code

    Please Login or Register  to view this content.
    I hope this time is correct post, I desperately need answer. if cannot be possible can you please let me know as well.

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    As I said in my earlier post, I am sure you will continue to get problems attempting to use Excel like this. There is no problem with your code, but if several users are attempting to run the code at the same time then you will have errors.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1