+ Reply to Thread
Results 1 to 5 of 5

macro with vba forms updated by multiple users in real-time

  1. #1
    Registered User
    Join Date
    05-25-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    5

    macro with vba forms updated by multiple users in real-time

    Currently I have a shared macro that has forms. This macro has add, edit, delete functionality. My problem is that i want multiple users to use it. For example 2 users (1 adding a new record, 1 user updating) or (2 users adding a record at the same time). I have a function that generates id automatically (ex. employeeid), the problem is if two concurrent users add a record the other record will be overwritten. Please help

    thanks

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: macro with vba forms updated by multiple users in real-time

    Excel is not the ideal program to use like this
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: macro with vba forms updated by multiple users in real-time

    You have to be rather experienced with Excel and Excel VBA to overcome the limitations of Excel in this respect. If you are not that advanced you'd better look for another solution. (the most simple one. to use a txt-file that will be opened for writing only and after writing will be closed a soon as possible)

  4. #4
    Registered User
    Join Date
    05-25-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: macro with vba forms updated by multiple users in real-time

    Hi Guys, thanks for the fast reply. Yes I agree. I guess I'll switch to a real database.

  5. #5
    Forum Contributor
    Join Date
    07-01-2008
    Location
    Cincinnati, OH
    Posts
    150

    Re: macro with vba forms updated by multiple users in real-time

    You may continue to use Excel as a front end but I would utilize tools that are available such as a disconnected ADO recordset. There may not be a need to redesign your entire project, but only the way the data is updated and perhaps the way it is being stored.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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