+ Reply to Thread
Results 1 to 3 of 3

Macro to delete cell contents based on other cell contents

  1. #1
    Registered User
    Join Date
    10-04-2020
    Location
    Melbourbe
    MS-Off Ver
    10
    Posts
    2

    Macro to delete cell contents based on other cell contents

    Hi Everyone,
    I would appreciate assistance with the following problem if possible.
    I require a Macro that will clear the contents of cells in row BD8:BI8 when the corresponding cell AT8 is either blank or zero (0). As soon as cell AT8 contains a value greater than zero (0) then any contents in cell range BD8:BI8 must remain undeleted.
    I require the same functionality to apply to all subsequent rows up to BD40:BI40 when the corresponding cell AT40 is subject to the conditions outlined above.
    Is there a solution?
    Thanks Very Much. SC

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,860

    Re: Macro to delete cell contents based on other cell contents

    crossposted: https://www.mrexcel.com/board/thread...tents.1172837/

    Rule 03: Cross-posting Without Telling Us

    Your post does not comply with Rule 3 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    10-04-2020
    Location
    Melbourbe
    MS-Off Ver
    10
    Posts
    2

    Re: Macro to delete cell contents based on other cell contents

    Hi,
    RE: Forum Rule no.3

    Just out of interest, how do you know when a user has posted the same question on multiple sites?

+ 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] Macro To Completely Delete Contents Of A Cell Range Based On Specific Text In The Cell
    By Learner_Mike in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-01-2019, 03:49 PM
  2. [SOLVED] Delete contents of a cell in a given range if it matches contents of a specific cell
    By rcicconetti in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-13-2016, 06:46 AM
  3. Replies: 3
    Last Post: 06-29-2015, 03:03 PM
  4. Delete Rows that contain matching cell contents in column to the contents in cell B1
    By sspatriots in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-23-2015, 05:39 PM
  5. [SOLVED] Macro Delete Contents in 23rd corresponding cell if the cell in range is a non-blank cell
    By murtaza.khan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-04-2014, 01:11 AM
  6. Macro to delete several rows based on a cell's contents
    By ppp112 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2013, 01:16 PM
  7. Macro to delete entire row based on cell contents
    By ATX in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-06-2011, 03:52 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