VBA Coding - Need Help

hmcdonald

New Member
Joined
Feb 12, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I have a macro that I have created that utilizes a user form to populate a main table. A customer wants me to incorporate a list on the userform (pops up when excel spreadsheet is first initialized) where I look up if a person's name (in a separate name table that consists of one column) has been incorporated into the main table in the last five months (column H in main table has date and other column F in main table has a name chosen from the name table). If they have not had their name added to the list in the last five months, I want to return that list of names to a list box.

Example: Since Dan hasn't performed a task in the last 5 months, I want Dan's name to populate on the list box on my user form

Main Table (doesn't have all columns, just an example)
NumberJobNameDate
1ABob2/11/2021
2BSteve2/01/2021

Name Table
Name
Bob
Dan
Steve
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,215,515
Messages
6,125,278
Members
449,220
Latest member
Excel Master

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