+ Reply to Thread
Results 1 to 3 of 3

VBA user forms queries to have live clock to track real time

  1. #1
    Registered User
    Join Date
    05-05-2017
    Location
    Mauritius
    MS-Off Ver
    2010
    Posts
    26

    VBA user forms queries to have live clock to track real time

    Dear Champions;


    Based on User Form developments i have below questions;

    1. I have created the user form and shared with more than 20 users to fill in.
    All data goes to one master file. The code i need is for when the multiple users simultaneously submit data it ask to replace the data or says that "the file already exist do your to want to replace it"....

    Question: What code i need to avoid such errors and it saves data coming from multiple users


    2. In user form, I have inserted the below formula in text box to have current date and time but the time does not change when i submit my data unless i close the form and reopen it. File attached for your reference

    I really want the live clock and taking real time submitted....

    Unable to upload user form for the reference.

    TextBox_Treatment_Date_And_Time.Value = Format(Now(), "dd-mmmm-yy h:mm:ss")

    Capture.PNG

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,384

    Re: VBA user forms queries to have live clock to track real time

    .
    Here is a small project showing running time in a LABEL positioned on a UserForm. Hopefully you can use this to obtain your goal.

    Please Login or Register  to view this content.
    Regarding your question :
    Question: What code i need to avoid such errors and it saves data coming from multiple users
    The issue you are experiencing is common to EXCEL. You can do a 'workaround' by having each of the users entering data to their own file and your MASTER FILE
    periodically reviewing the user files to obtain updates to the MASTER. That way each user is only accessing one file (theirs), they can do it anytime they want without
    interference from another user.
    Attached Files Attached Files
    Last edited by Logit; 07-27-2017 at 09:47 AM.

  3. #3
    Registered User
    Join Date
    05-05-2017
    Location
    Mauritius
    MS-Off Ver
    2010
    Posts
    26

    Re: VBA user forms queries to have live clock to track real time

    Well Noted

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to subtract Time Values contained in Labels on a userform - Time Elapsed Live Clock
    By deadeye_draken in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-18-2017, 06:44 AM
  2. [SOLVED] real-time excel clock
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-24-2016, 08:23 PM
  3. Have excell play sound when any cell shows same time as live clock
    By boredinyak in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-08-2015, 08:35 PM
  4. excel live 60 min data real time
    By freak11 in forum Excel General
    Replies: 1
    Last Post: 06-08-2014, 08:20 PM
  5. [SOLVED] Can't Stop Live Time / Real Time Clock
    By puuts in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-03-2014, 12:39 PM
  6. [SOLVED] Real Time Clock Encountering Error Upon Userform Close
    By Stonesteel15 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-28-2012, 11:51 PM
  7. Real Time Clock in Cell
    By phillija in forum Excel General
    Replies: 3
    Last Post: 04-27-2010, 02:07 PM

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