+ Reply to Thread
Results 1 to 3 of 3

Refresh via VBA

Hybrid View

  1. #1
    Registered User
    Join Date
    11-20-2009
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    1

    Refresh via VBA

    Hello,

    i have created one user form tro which we can insert records in excel file.
    I have made this excel shared so that multiple users can access at the same time and can insert records..
    Now my problem is If two users have open the excel same time and inserting the records in the excel , the record got inserted in the same row (for eg row 15)and create a conflict..
    Is there any way to refresh the excel so that while updating the excel tro user form it will get the letest row (row 16 if another user has entered the record)
    Is there any way to refresh excle thro VB..???//
    It will be really grt if any one can help me on this...

    mohit

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Is there any way to refresh excle thro VB..???//

    Hi,

    You need to check out the workbook sharing functionality that's incorporated in Excel. Tools, Share Workbook....

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,998

    Re: Is there any way to refresh excle thro VB..???//

    FYI, I strongly suggest you avoid Shared Workbooks. They are notoriously prone to corruption, bloat and weird behaviour. If you need multiple user data, use a database program if at all possible. If you must share the workbook, make sure you keep regular backups and clear it out periodically!
    Everyone who confuses correlation and causation ends up dead.

+ 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