How to generate a list of entries that all meet a certain criteria in a Userform

imakeyoursundae

New Member
Joined
Mar 20, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi all, I'm new to VBA so I would like some guidance to the following problem.

I have currently created a UserForm in Excel where I can search and update data in several sheets.

But I was wondering if it would be possible to create something (a button which leads to a new Userform) to print or export a list of all entries where something (like a date) is missing. I would like to create a combobox of my columnheads so that I can define in which column the filter should work.

I'm also using a ListBox in my original UserForm to define the sheet (actWsh) on which should be worked to search/update since this is important to my data.

(e.g. filter: Date < choices: *does not contain data *date: dd/mm/yyyy)

FilterCombobox of columnheads
Choices* Option 1: does not contain data
* Option 2: 20/03/2022; Anna; Anna123 etc.

And once that filter has been defined, I want it to give the choice to export the list in xlsx/PDF/etc.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,214,515
Messages
6,119,973
Members
448,933
Latest member
Bluedbw

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