Consulting

Results 1 to 8 of 8

Thread: Delete if same

  1. #1
    VBAX Master
    Joined
    Jun 2006
    Posts
    1,091
    Location

    Delete if same

    Next question, I have two columns a Qty column (K) and a Units column (L). If the product is sold by the case then both numbers are the same but if the numbers are different then I want to delete the Units cell in the Units column.

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Looks fairly straightforward. Have you tried making up your own code for this?
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    VBAX Master
    Joined
    Jun 2006
    Posts
    1,091
    Location
    Thats scary. I haven't taken off my training wheels yet!!!!

  4. #4
    VBAX Contributor compariniaa's Avatar
    Joined
    Jun 2006
    Location
    Santa Clarita, CA
    Posts
    117
    Location
    if you plug away at it, before you realize it you won't need much help

  5. #5
    VBAX Master
    Joined
    Jun 2006
    Posts
    1,091
    Location
    but that means I must think, and that hurts the brain. lol

  6. #6
    VBAX Contributor
    Joined
    Jun 2006
    Posts
    135
    Location
    Yes, maybe. But people are here to help each other, not to do your job instead of you. You could do that pretty easily if you tried I guess. And if you really have a problem, then ask; but not before you even tried.

  7. #7
    VBAX Master
    Joined
    Jun 2006
    Posts
    1,091
    Location
    Jungix,

    First, No need to be rude! Haven't you ever heard of a joke????
    Second, I am just starting to write code. I used to get all my code from the Macro Recorder!!!!!

    Daniel

  8. #8
    VBAX Contributor
    Joined
    Jun 2006
    Posts
    135
    Location
    Sorry I didn't want to sound rude. I am also starting VBA. If you never try to write macros yourself you will never improve, and you'll need to do it yourself one day anyway, so the sooner the better ^^

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •