+ Reply to Thread
Results 1 to 3 of 3

Automatically fill next cell with date and username when a checkbox is selected

  1. #1
    Registered User
    Join Date
    06-24-2015
    Location
    Milton, NH
    MS-Off Ver
    Office 2013
    Posts
    3

    Question Automatically fill next cell with date and username when a checkbox is selected

    Good Afternoon Everyone!

    In each cell of Column O I have a checkbox. When this checkbox is selected today's date is auto-filled into the cell directly to the right of the check box. For example. if the box in O5 is checked, the date fills into P5. If the box in O8 is checked, the date fills into P8. I am currently using the code below and it works great.

    However, I would like it to show date and time and I would also like it to autofill the username of the user into column Q.

    I know to have the username autofill instead of the date I replace
    Please Login or Register  to view this content.
    with
    Please Login or Register  to view this content.
    . But how do I edit the code to perform both functions? And how do I edit the code to autofill with a static date and time?

    Full Code:
    Please Login or Register  to view this content.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Automatically fill next cell with date and username when a checkbox is selected

    Ignore that. I misread the original post.

  3. #3
    Valued Forum Contributor
    Join Date
    11-12-2014
    Location
    Nottingham
    MS-Off Ver
    2013
    Posts
    383

    Re: Automatically fill next cell with date and username when a checkbox is selected

    To get date and time you can use this:
    Please Login or Register  to view this content.
    I am slightly confused about the named range "Lrange" you are using. How have you defined it?
    !If all your troubles are solved, then so is the thread. Show this by marking it so using thread tools at the top of the page.
    If I helped do this, then please show your appreciation by awarding rep points.
    <------ Button for that is over there

+ 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. problems with macro to automatically fill the username and macro to unhide sheets
    By djtosh1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-07-2015, 07:14 AM
  2. Macro to fill "Summary" cell based on checkbox selected on same row
    By vuiggy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-03-2013, 01:14 PM
  3. is it possible to automatically enter date and time in a cell when it is selected
    By mkerry in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-21-2013, 07:01 AM
  4. automatically fill cell with end of date monthly
    By herukuncahyono in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-27-2010, 08:38 PM
  5. Auto Fill Cell w/Username & Date if Value added
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-25-2009, 10:27 AM

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