+ Reply to Thread
Results 1 to 5 of 5

VBA that removes date stamp in a cell when data in corresponding adjacent cell is removed

  1. #1
    Registered User
    Join Date
    02-11-2013
    Location
    Colorado
    MS-Off Ver
    Excel 2010
    Posts
    3

    VBA that removes date stamp in a cell when data in corresponding adjacent cell is removed

    I have this VBA code that generates a date/time stamp in a cell if an adjacent cell in the same row had data entered into it. I just need to know how to fix this code so that if the data in the adjacent cell is cleared/deleted the date/time stamp is removed. Below is the current code. Can anyone help me fix it?

    Please Login or Register  to view this content.
    Last edited by arlu1201; 02-11-2013 at 03:31 PM. Reason: Use code tags when posting code.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: VBA that removes date stamp in a cell when data in corresponding adjacent cell is remo

    Maybe:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    02-11-2013
    Location
    Colorado
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: VBA that removes date stamp in a cell when data in corresponding adjacent cell is remo

    No. That didn't seem to work. Thank though.

  4. #4
    Registered User
    Join Date
    02-11-2013
    Location
    Colorado
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: VBA that removes date stamp in a cell when data in corresponding adjacent cell is remo

    I'll attach my spreadsheet if that makes it easier. Column G is the date stamp and it needs to be based on the data of column A.
    Attached Files Attached Files

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: VBA that removes date stamp in a cell when data in corresponding adjacent cell is remo

    Hi Chelsea,

    This code seems to work - maybe I don't understand your issue?

    Please Login or Register  to view this content.

+ 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