User Form Search

SoyuzGRU

New Member
Joined
Feb 17, 2022
Messages
10
Office Version
  1. 2016
Platform
  1. Windows
Background

I am looking to automate excel and have an excel that includes 3 sheets:

Master Sheet (Sheet1) - All information from user forms are stored here (sheet will be locked)
Data Validation (Sheet2) - Information from user form combo boxes are here (sheet will be locked)
Menu (Sheet3) - User interface with buttons that open user forms

Assistance

I am trying to setup a user form where a user can view records in the Master sheet through the input of up to 3 text box fields (All labelled by their default names "TextBox1", etc.). Once the user hits submit, I'd like the form to compile all rows of data that matches the search criteria to a List Box at the bottom of the form.

On the more complicated side, the Master sheet has about 11 columns of data in one row. I want all this data displayed, but the user is only filtering through 3 columns as followed:

User Form TextBox1 - Searches Master Column D
User Form TextBox2 - Searches Master Column E
User Form TextBox3 - Searches Master Column F

I've looked at countless tutorials, and tried a few codes found in them but can't seem to get the results desired. While I am a novice to VBA I'd appreciate a short explanation if possible on any codes provided.

As always, I appreciate any help
 
You have problems, but it's not with my code.
Nowhere in my code do I have those instructions that you put in the image.

That's why I wrote to you, forget your code and try my code.

If you want me to review your code, you'll need to share your file.

You could upload a copy of your file to a free site such www.dropbox.com or google drive. Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here. If the workbook contains confidential information, you could replace it with generic data.
I've uploaded a copy of the workbook that does not contain any confidential information to Google Drives and can be found here:

Meet Google Drive – One place for all your files

I really appreciate all your help and patience with this.

*On another note as well, I haven't updated the UserForms by deleting the command buttons, but will if you're able to get it running
 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,214,653
Messages
6,120,752
Members
448,989
Latest member
mariah3

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