Results 1 to 2 of 2

Thread: VBA code trouble with numbers

  1. #1

    VBA code trouble with numbers



    Register for a FREE account, and/
    or Log in to avoid these ads!

    hello, im in a bit of a pickle, i have the following VBA code
    Code:
    Range("G" & ARow).Value = Range("H" & ARow).Value + Range("G" & ARow).Value
    an its fine really but what im looking for is a way to deduct much like the same way the code above is adding, the same way but deduction

    thank in advance and merry Christmas in advance too :P lol!

  2. #2
    Simply exchange your adding (+) sign with the deduction (-) sign.
    Works beautifully as expected.

    Oh now i see your signature - you propably pulled my leg asking this one :P lol!

Posting Permissions

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