Results 1 to 23 of 23

Thread: [Excel]List Box VBA PROBLEM

Threaded View

  1. #1

    Thread Starter
    Addicted Member allankevin's Avatar
    Join Date
    Jul 2008
    Posts
    173

    Exclamation [Excel]List Box VBA PROBLEM

    Hi Guys,

    How can i show the item from a textbox to the listbox? I want to get to item in txtdesc, txtdate,txttotal,txtapp to show in my listbox..

    can someone help me on this? THanks!!

    here's my code
    Code:
    Private Sub UserForm_Initialize()
    Dim MyList(10, 3) As String
    Dim i As Long
    MyList(0, 0) = "Description"
    MyList(0, 1) = "Date"
    MyList(0, 2) = "Total Claim"
    MyList(0, 3) = "Approved"
    For i = 1 To 10
    ?
    ?
    ?
    ListBox1.ColumnCount = 4
    ListBox1.List = MyList
    End Sub
    Last edited by allankevin; Aug 25th, 2008 at 11:41 PM.
    "In order to improve the mind, we ought less to learn, than to contemplate."

Posting Permissions

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



Click Here to Expand Forum to Full Width