Posts by gbc65

    Re: Execute code when cell is updated


    AAE;
    i thought of that originally, but i want this code to be executed on every sheet (except for DATA, TEMPLATE, TOC) and all future sheets. manually adding this code to each sheet is not practical, as this code is called shortly after a new sheet is created.

    is there a way to automatically add this code to a worksheet after it is created?

    thanks
    greg

    I have the following sub, and as good or poorly written as it is, it does what it should.
    my question is this, it does what it should only after i select the cell after the data has been entered, i would like it to do its thing when the cell is exited after entering data. does this make sense?



    thanks
    greg

    Re: sumif based on the last 2 characters of corresponding cell in another column


    AAE:
    thanks, i saw the typo, in my post, and corrected it, but not before you saw it. Your solution gives me a #value error, but because i want to total column J, which are products of a formula, i need to incorporate error checking into your solution for it to work.
    as i am just a beginner at this, what would you propose?
    thanks
    also, what does the -- do in the formula you provided? (i tried to search for this but i need some explanation to point me in the right direction)
    greg