Results 1 to 3 of 3

Thread: Column sums in ListBox, Is it Possible ????

  1. #1
    ashky
    Guest

    Question Column sums in ListBox, Is it Possible ????

    Hai,

    I was wondering if it is possible to get the columns sums in a ListBox. Let me illustrate a example to be more precise:


    [Highlight=VB]
    1 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 1 0 0 0 0 0 0 0 0
    0 0 0 0 1 0 0 0 0 0 0 0
    0 0 0 0 0 0 1 0 0 0 0 0
    0 0 0 0 0 0 0 1 1 0 0 0
    0 0 0 0 0 0 0 0 1 1 0 0
    0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 1 0 0 1 0 0
    0 1 0 0 0 1 0 0 0 1 0 1
    0 1 0 0 1 0 0 1 1 1 0 0
    1 0 0 0 1 1 1 0 0 0 0 1
    2 2 0 1 3 2 3 2 3 4 0 2
    [\vbcode]

    Notice that the last row is the column sums......, How can this can be done. Any help/ideas/code highly appreciated....,

    Thanks in abvance...,

    ashky

  2. #2
    vbGrandpa
    Guest
    calculate the sum and use .additem to put it in the listbox.

  3. #3
    ashky
    Guest

    Column sums in ListBox

    Originally posted by vbGrandpa
    calculate the sum and use .additem to put it in the listbox.
    Dear Grandpa,

    I am unable to calculate the sum, thats the main thing, i thot that was my query !!!!!

    Any help/ code/ ideas highly appreciated...,

    ashky

Posting Permissions

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



Click Here to Expand Forum to Full Width