+ Reply to Thread
Results 1 to 4 of 4

VBA - Insert timestamp if cell to left = x

  1. #1
    Registered User
    Join Date
    02-13-2020
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    11

    VBA - Insert timestamp if cell to left = x

    I would like to be enter the date when "x" is entered into the cell to the left of the target cell. I want to limit this to cell B2:K20. If x is entered into B3, then the date populates in C3. This will show the date a task was completed.

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

    Re: VBA - Insert timestamp if cell to left = x

    Right click the sheet tab and select "View Code". Copy the code below and paste it into the VBA screen.
    Please Login or Register  to view this content.
    Is that what you mean?

    BSB

  3. #3
    Registered User
    Join Date
    02-13-2020
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    11

    Re: VBA - Insert timestamp if cell to left = x

    Thanks so much for the fast reply. That works pefectly.

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

    Re: VBA - Insert timestamp if cell to left = x

    Happy to help

    BSB

+ 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. Vba that moves cells with text, (up and to left, insert row/ insert copied cell)
    By sergi117 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-04-2018, 03:12 PM
  2. [SOLVED] Insert a formula into a cell using VBA that contains LEFT and a variable
    By Chris Tuttle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-06-2018, 10:38 PM
  3. [SOLVED] Select matching cell and insert value 4 cells to the left of selected cell?
    By TomToms in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-03-2014, 11:46 AM
  4. Find cell with value from a column and insert formula in the cell to its left
    By konata in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-18-2014, 05:11 AM
  5. Replies: 2
    Last Post: 11-07-2013, 06:19 AM
  6. Insert left most cell in function code
    By sachinahj in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-26-2012, 08:36 PM
  7. Code to insert row at top left cell
    By qussai in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-14-2012, 03:15 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