+ Reply to Thread
Results 1 to 5 of 5

Get user informaation alaong with time

  1. #1
    Forum Contributor
    Join Date
    10-21-2012
    Location
    Ind
    MS-Off Ver
    Excel 2010
    Posts
    110

    Post Get user informaation alaong with time

    Hi,

    I am facing on issue. I need user id with time. In column A if my team members activate the cell then I need current user id with time. Like below

    akulka58 HH:MM:SS

    I nee these for my checklist. If we put code or any custom function then can I share that workbook?

    Till date I achived below code but it is not fulfilling my requirements.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Get user informaation alaong with time

    Hi,

    I don't think you want a Worksheet_Change(). I changed it to Worksheet_BeforeDoubleClick(), which means if you 'Double Click' in cells A1 thru C10, that cell will display the User Name and time.

    If I didn't do what you want, please try to describe step by step what you want to do. For example:
    a. User puts a value in cell 'A1'.
    b. User Name and Time gets displayed in cell 'D1'.

    See the attached file, which contains only the following code in Sheet1:
    Please Login or Register  to view this content.
    Lewis
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    10-21-2012
    Location
    Ind
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: Get user informaation alaong with time

    LJMetzger, You are very valuable asset. Just wanted to check if we put code in workbook can we share it? If yes then please tell me how & if not then is there any other option?

  4. #4
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Get user informaation alaong with time

    Thank you for the kind words.

    Yes you can share the code. The code is located in 'Sheet1' in the VBA area. You can copy to code to any sheet in the same or a different workbook.

    How to copy the code.
    1. Open the workbook that contains the code.

    2. Open the destination workbook.

    3. Access Visual Basic (VBA) see:
    http://www.ablebits.com/office-addin...a-macro-excel/
    a. Click on any cell in the Excel Spreadsheet (may not be needed).
    b. ALT-F11 to get to VBA.
    c. CTRL-R to get project explorer (if it isn't already showing).
    d. Double Click on a 'Module Name' in 'Project Explorer' to see code for that module ('Sheet1').

    4. Copy the code to the clipboard. It's the same as cut and paste in Microsoft Word.

    5. Double Click on the destination Sheet. Paste the code into the destination sheet. If the words 'Option Explicit' are at the top of the module, make sure the words only appear ONE TIME. Remove any duplicate occurrences of 'Option Explicit'.

    6. Save the Destination Workbook.

    Lewis

  5. #5
    Forum Contributor
    Join Date
    10-21-2012
    Location
    Ind
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: Get user informaation alaong with time

    Lewis, Thanks a lot for your help & valuable time.

+ 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. Need Help with an user form that convert GTM Time to Other selected Time Zone
    By odoualex in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2014, 11:52 AM
  2. [SOLVED] time format, if user enters time without colon, insert for them
    By MaddyG in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-24-2013, 06:12 PM
  3. Replies: 2
    Last Post: 03-10-2013, 09:56 PM
  4. Replies: 3
    Last Post: 02-26-2013, 10:45 AM
  5. Ready Time, Start Time, Finish Time by user
    By teguigala in forum Excel General
    Replies: 3
    Last Post: 02-15-2012, 03:34 PM

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