+ Reply to Thread
Results 1 to 4 of 4

Delete cell content when another cell is changed

  1. #1
    Forum Contributor
    Join Date
    10-30-2006
    MS-Off Ver
    O365
    Posts
    311

    Delete cell content when another cell is changed

    Hi all,
    On my 'Home' sheet i have a list of names in column A and some dates in column H.
    On my 'AfterAppointment' sheet I have some information copied from 'home' sheet. For example column F has a simple formula to pull the name from the 'Home' sheet =(Home!A5).

    When someone changes a date in the 'Home' sheet I would like to have something in place to delete the data from the cell in columns E & H for that person in the 'AfterAppoinment' sheet.

    I hope that makes sense!
    Can anyone help with this please?

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Delete cell content when another cell is changed

    To install the code:
    • Right-click on the Home sheet tab.
    • Select View Code from the pop-up context menu.
    • Paste the code from below in the worksheet's code module.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    10-30-2006
    MS-Off Ver
    O365
    Posts
    311

    Re: Delete cell content when another cell is changed

    AlphaFrog, you're my hero!!
    Thank you very much

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Delete cell content when another cell is changed

    You're welcome. Thanks for the feedback.

+ 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] Archive row content to different worksheet when certain cell column is changed
    By s_bruno1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-10-2016, 05:09 PM
  2. cell content changed automatically - need to stop it
    By seraphin in forum Excel General
    Replies: 1
    Last Post: 02-20-2014, 06:37 PM
  3. Copy entire row when cell content has changed
    By bting in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-05-2012, 03:27 AM
  4. Running a macro each time certain cell content is changed
    By mlcfexcel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-12-2007, 08:34 PM
  5. [SOLVED] replace one tag in content of one cell and format not changed:123#abc#456
    By replace one tag in content of one cell a in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2006, 12:10 PM
  6. replace one tag in content of one cell and format not changed
    By replace one tag in content of one cell a in forum Excel General
    Replies: 1
    Last Post: 01-09-2006, 11:40 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