+ Reply to Thread
Results 1 to 4 of 4

Clear Contents of cells, if other cell changes

  1. #1
    Spammer
    Join Date
    11-21-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    387

    Clear Contents of cells, if other cell changes

    A macro is currently running to do calculations based on cells A14:H113 on one of many worksheets in a workbook.

    What I would like to do is make it so that if the data in cells A14:B113 of Worksheet "Rate Calculations" change that only the data in cells K14:P113 (Of worksheet "Rate Calculations") will clear.... and everything else is left as is.

  2. #2
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Clear Contents of cells, if other cell changes

    Hi,

    Can you be more specific on what needs to happen after the 'on change' event fires?

  3. #3
    Spammer
    Join Date
    11-21-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    387

    Re: Clear Contents of cells, if other cell changes

    Hi There!

    Below is a screen shot of what data looks like now...... And what I would like to do is make it so that if for whatever reason I edit, change, etc the data in any of the A14:B113 cells, that the data in row where the data changed is cleared from columns K:P


    Data Now:
    1-11-2019 3-06-28 PM.png

    Changed data in row 50.... here is what I would like it to look like
    1-11-2019 3-10-40 PM.png

  4. #4
    Valued Forum Contributor
    Join Date
    02-06-2014
    Location
    N/A
    MS-Off Ver
    N/A
    Posts
    373

    Re: Clear Contents of cells, if other cell changes

    Hiya,

    Try this, paste into the worksheet module in the VBA explorer

    Please Login or Register  to view this content.
    Last edited by 1aaaaaaaaaaaaaaa; 01-11-2019 at 07:25 PM.

+ 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] VBA Clear contents of other cells when certain cell displays certain value
    By D.Lovell in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-23-2015, 12:56 PM
  2. [SOLVED] Clear contents in specific cell and the cells in the next 2 columns to the right
    By JRidge in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-04-2014, 01:25 AM
  3. Macro to Clear Contents of Cells when one cell = 0 %
    By BVT3030 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2013, 02:55 AM
  4. clear contents of ALL cells if a cell contains TRUE
    By burdo77 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-07-2013, 02:00 PM
  5. Clear contents of cells when another cell changes value
    By chrisd79 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-13-2013, 05:22 AM
  6. How to set the position of a active cell and clear the contents of the cells
    By aijihz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-09-2007, 04:46 PM
  7. [SOLVED] Delete/clear a cell based on another cells contents
    By jademaddy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-19-2005, 02:06 PM

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