Results 1 to 4 of 4

Populate listbox with current date value

Threaded View

  1. #1
    Registered User
    Join Date
    10-10-2008
    Location
    Illinois
    MS-Off Ver
    Microsoft Office Excel 2003
    Posts
    85

    Populate listbox with current date value

    I am trying to populate a listbox in a userform with only certain data. Currently I am able to populate all rows in a worksheet but I need to have only rows with the current date to show. In col A is the date and col B is a persons name.
    Private Sub UserForm_Initialize()
        With Sheets("Time")
            Set rng = .Range(.Cells(2, 8), .Cells(.Rows.Count, 1).End(xlUp))
            Me.ListBox1.RowSource = rng.Address(external:=True)
        End With
    End Sub
    Thanks for any help.
    Attached Files Attached Files
    Last edited by Khaos176; 02-25-2009 at 12:28 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1