Zero value in range

  • I have a range named "PKI2" with numeric values in each cell. I would like to zero out the values using a macro. What code would I use?

  • Re: Zero value in range


    What do you mean by zero out?


    Do you want to put a zero in each cell or clear the contents?

    Code
    Range("PK12")=0


    Code
    Range("PK12").ClearContents

    Boo!:yikes:

  • Re: Zero value in range


    Thank you, the placement of the zero is what I wanted to do. It's the simple things that I have a diffecult time comprehending.


    Rich

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!