Adding data in listbox with a condition Help me please it won't take much time thanks

Status
Not open for further replies.

Harsh sharma

Banned - Rule violations
Joined
Aug 1, 2020
Messages
11
Office Version
  1. 2019
Platform
  1. Windows
Screenshot_20200802_130343_50.png
Screenshot_20200802_130357_50.png
Screenshot_20200802_130502_50.png
Screenshot_20200802_130633_50.png

In first image there is data in A 39 there is date and in B 39 there is customer name and you can see in A 40 there is addition of both A 39 and B 39 so in userform in image 2 i search data with two textboxes with date and customer name and results shows in other text boxes but as you can see in image 3 there is a condition if sheet6.cells(y.1).offset(1,0).value = w (the w is addition of two search textboxes )
Then listbox1.additem sheet6.cells(y,3).offset(1,0).value the data added in listbox in image 4 but it only add the one row of column 3 which A has the addition of two textboxes but i want all the data which has the addition of two textboxes which is w or date + customername and also want to add many columns hope u understand and if not please ask anything it really important please help me
Thanks
Harsh
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Duplicate How to search same name values in listbox

Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread.
Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,214,585
Messages
6,120,390
Members
448,957
Latest member
Hat4Life

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top