![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
I have a list of documents in column A and their
corresponding expiration dates in column B. Using the following code, I can filter out all documents that have expired and display the document names in the list box. How can I get their correspondind expiration dates to be listed next to them? For g = 1 To Range("A3").End(xlDown).Row If Cells(g, 2).Value < Now() Then ListBox4.AddItem Cells (g, 1) Next g Thanks, Greg |
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Portland, OR USA
Posts: 1,374
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|