VBA Dropdown to Display Flited Results from Table

new11

New Member
Joined
Sep 15, 2020
Messages
24
Office Version
  1. 365
Platform
  1. Windows
Good morning amazing excel people!
I hope you’re all well and enjoying the sunny weather, if geography appropriate.
I’m really not to sure on a what VBA code I should use or if what I would like to do is even possible.

The question;
I have a very simple billing table that records appropriate data generated from some VBA code. The table headings include; invoice nr, billing month and year, period start, end, date sent, amount, due date, payment received (y, n or -), date received & notes. (the attached mini sheet is from a work in progress with some added example data)

The conundrum; a way for a user to record paid invoices
Using a userfrom, that has the ability for a user to be able to select an invoice from a drop down, with this dropdown displaying any invoices that have been marked as “n”. When once an invoice is selected, I would like the billing period start & end shown in a couple of textboxs along with another textbox allowing the user to enter the date payment was received.

What I’m stuck with;
I really have no idea how to make the dropdown display only invoices with “n” no payment received. Additionally I really don’t know how to make the entered data saved into the row for the appropriate invoice.

I would really love to hear some of your thoughts or ideas and any assistance is greatly appreciated. ?
Cheers in advance & stay safe!

6.1- Copy.xlsm
ABCDEFGHIJK
1Invoice_NumberPeriod_Month_&_YearPeriod_StartPeriod_EndDate Invoice Sent Invoice_Amount Due_Date Payment_Received_Y_or_N Amount_Received Date_Received Notes
20308 2020 ELE133May-2016-May/2017-Jun/203/Aug/2020$382.611/Dec/1994y$382.6112/12/1994
3 Jan-2020-Jan/2017-Feb/203/Aug/2020$59.491/Dec/1995y$59.4913/12/1995
40308 2020 ELE229Feb-2018-Feb/2017-Mar/203/Aug/2020$47.88n$0.00
50308 2020 ELE331Mar-2018-Mar/2017-Apr/203/Aug/2020$132.42n$0.00
60308 2020 ELE428Apr-2018-Apr/2015-May/203/Aug/2020$262.85n$0.00
70408 2020 ELE5331May-2016-May/2017-Jun/204/Aug/2020$382.61n$0.00
80408 2020 ELE6131Jun-2018-Jun/2030-Jun/204/Aug/2020$46.07n$0.00
Payments
 
Last edited by a moderator:

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

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