Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Sep 2007
    Posts
    1,203
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    Anyone spot my error here?

    out.Cells(t, 6) = inp.Round(Cells(r, 6), 2)

    out & inp are both worksheets, t & r are both (Long) row numbers. I am trying to add the value of inp to out, specified to 2 decimal places.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    Yes.


    It should be

    out.Cells(t, 6) = Round(inp.Cells(r, 6), 2)

  3. #3
    Bronze Lounger
    Join Date
    Sep 2007
    Posts
    1,203
    Thanks
    0
    Thanked 0 Times in 0 Posts
    LOL, i tried just about every other variation, but not that one!

Posting Permissions

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