+ Reply to Thread
Results 1 to 6 of 6

Clearing cell values when another cell in same column changes

  1. #1
    Registered User
    Join Date
    12-03-2012
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2010
    Posts
    3

    Talking Clearing cell values when another cell in same column changes

    I am currently using the code


    Please Login or Register  to view this content.
    To delete the value in G9 when G7 is edited, but I need Excel to delete the cell value of anything in the 9th row if the 7th row of the corresponding column is edited.

    So if H7 is edited, clear H9, If I7 is edited, clear I9 and so on up to the Q column.

    I cant seem to chain my above if statement
    Any help would be greatly appreciated
    Last edited by hermanvermeulen; 12-03-2012 at 04:36 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Clearing cell values when another cell in same column changes

    hi mnr Vermeulen, hoe gaan dit and welcome to the forum. always good to see some1 from SA on here, even if they are from P-town lol (j/k)

    you have inadvertantly transgressed on 1 of the forum rules by not putting code tags around you're code. I have done it for you this time, but please keep that in mind for future reference
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-03-2012
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Clearing cell values when another cell in same column changes

    My bad en dankie haha. I'll tag the code from now on. Thank you for fixing the post.

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Clearing cell values when another cell in same column changes

    Hallo hermanvermeulen,

    Welkom by die Forum.

    You can give this Code a try.

    Please Login or Register  to view this content.
    also see the "Please consider" note at the bottom of this post.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  5. #5
    Registered User
    Join Date
    12-03-2012
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Clearing cell values when another cell in same column changes

    Baie dankie dit werk 100's en ek sal jou please consider consider

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Clearing cell values when another cell in same column changes

    You are welcome.

    Glad I could help.

    Thank you for the Rep.

+ 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