Userform Listbox Help

magicman1998

New Member
Joined
Apr 22, 2021
Messages
2
Office Version
  1. 2013
  2. 2010
  3. 2007
Platform
  1. Windows
Hi Everyone,

Ive made an inventory tracking sheet that uses userforms to control the data, but its also used to display the data.
One of the listboxes within this is pulling data from one of the database sheets in the workbook.

The image shows the code that works currently with just the data from the worksheet.
I want it to also pull one row of data from a row of another sheet in the workbook and put it on the end. Obviously both sheets have a common variable with the data so the data must match up with the correct product name from both lists.

I have no idea how to do this, every idea I have and try doesnt seem to work and I get debug pop ups and compile errors.

Please help

Thanks in advance
Liam
 

Attachments

  • snip of VBA.PNG
    snip of VBA.PNG
    25 KB · Views: 13

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
The data from the second worksheet is in a sheet called "Products" and the first row is the product name and the 3rd row is the row I wish to plonk on the end of the other data in the listbox
 
Upvote 0
Welcome to the forum. :)

A picture of code is of little use to us - we'd have to retype it to debug/alter it. Please post the actual code, using code tags. Thanks.
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,183
Members
449,071
Latest member
cdnMech

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