Listbox1 on Userform1 has just two cols A = ITem and B = Amt. from Rowsource = Sheet1!A1:B15 = Named range = MYITEMS"
Listbox1 displays this:
When say, Apples is selected(highlighted) the values are copied to Textbox1 of Userform2
and are displayed like this:
The value of $5.00 displays in Textbox2 of Userform2;
Oranges is selected next. Textbox1 of Userform2 now displays
Textbox2 of Userform2 now displays $9.00
All of this to simply say:
1 Select an item from a userform Listbox and
2. Display that item with all columns in a Textbox1 on userform2
3 Add the values in COL B each time(cumulate) in a second Textbox2 on userform2.
Sorry for being long and drawn out. Just wanted to explain fully what I'd like to have happen.
Any help would be greatly appreciated
Thanks, cr
Oranges are selected
Listbox1 displays this:
Code:
Apples $5.00
Oranges $4.00
Grapes $2.00
and are displayed like this:
Code:
Apples $5.00
Oranges is selected next. Textbox1 of Userform2 now displays
Code:
Apples $5.00
Oranges $4.00
All of this to simply say:
1 Select an item from a userform Listbox and
2. Display that item with all columns in a Textbox1 on userform2
3 Add the values in COL B each time(cumulate) in a second Textbox2 on userform2.
Sorry for being long and drawn out. Just wanted to explain fully what I'd like to have happen.
Any help would be greatly appreciated
Thanks, cr
Oranges are selected