LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 489
Default Fill Listbox Columns With Other Userform Control Values

I have a command button click event that I want to use to add values in a
listbox from other userform controls. The listbox will have 4 columns: Part
Description, Qty, Unit Price, Extended Price. For example,

Private Sub cmbAddItem_Click()

' code to find next available row

' add this data to next available row
Col 1: Part Description = cboPartNumber & " - " & cboPartDescription
Col 2: Qty = tbxQuantity
Col 3: Unit Price = tbxUnitPrice
Col 4: Extended Price = Val(tbxQuantity) * Val(tbxUnitPrice)

' code to sum prices in Col 4
tbxQuotePrice = ' sum of all prices in Col 4

End Sub

Is this possible? Thanks in Advance!!
--
Cheers,
Ryan
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
fill userform textbox from userform listbox clik event GregJG[_21_] Excel Programming 3 December 7th 08 04:47 PM
Userform - with Commandbutton fill a Listbox with data.. Arjan[_2_] Excel Programming 1 September 9th 06 07:24 PM
Fill a Listbox with mult. Variables in userform Jennifer Excel Programming 2 May 23rd 06 07:28 PM
Fill values into a listbox matching selected values from a combobox Jon[_19_] Excel Programming 4 January 25th 05 04:25 PM
Fill a Listbox with Values from a Pivot Table Field - an Example DataFreakFromUtah Excel Programming 0 February 12th 04 04:12 PM


All times are GMT +1. The time now is 08:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"