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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,215,062
Messages
6,122,925
Members
449,094
Latest member
teemeren

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