|
-
Oct 28th, 2001, 02:20 PM
#1
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
-
Oct 28th, 2001, 02:34 PM
#2
calculate the sum and use .additem to put it in the listbox.
-
Oct 28th, 2001, 04:23 PM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|