+ Reply to Thread
Results 1 to 11 of 11

Multicolumn ListBox

Hybrid View

  1. #1
    Registered User
    Join Date
    08-25-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    22

    Multicolumn ListBox

    Hello,
    After updating information in Userform3 & Userform2 the Listbox need to be updated with all fill in information. But with current attachment the listbox update/ show only 10 columns instead of 13 columns. Can expert help to sort out this problem.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-25-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Multicolumn ListBox

    Can any expert help out to sort this problem

  3. #3
    Registered User
    Join Date
    08-25-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Multicolumn ListBox

    Dears Request a help on this can anybody share the experience to sort out this problem

  4. #4
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Multicolumn ListBox

    try this
    Private Sub UserForm_Initialize()
    'for userform2
    ListBox1.List = Sheets(2).Range("A2:m100").Value 'change here for yr needs
    End Sub
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  5. #5
    Registered User
    Join Date
    08-25-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Multicolumn ListBox

    Excellent John, its working ur genius, can I request for some more help in column four getting some symbol, I am unable to track from were it is coming. Also I would like the ListForm to show grid lines is it possible. Attaching herewith excel sheet.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Multicolumn ListBox

    sorry, not that I know of.
    edit: attached test file-you can use ListView, hope it helps you!
    Attached Files Attached Files
    Last edited by john55; 12-31-2012 at 04:46 AM.

  7. #7
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Multicolumn ListBox

    it is the = sign after the number in sheet 2 column D
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

  8. #8
    Registered User
    Join Date
    08-25-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Multicolumn ListBox

    Quote Originally Posted by Sean Thomas View Post
    it is the = sign after the number in sheet 2 column D
    Thanks a lot, it is th perfect answere to my question. But the listbox is showing all the information available in sheet 2. Instead of this it should show information related to contract number only, which is shown in Textbox16. The other purpose is that once the user select the contract number & fill all the information in Userform1 & UserForm2 & press the enter command button the information need to updated in listbox also & show the recent change information in list box.
    Presently the information in Listbox is updated after reopening the userform. Attaching herewith previous excel sheet which shows the update in listbox once Enter command button is press. Also attaching herewith the updated excel sheet which need the same change.
    Thnaking you in anticipation.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    08-25-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Multicolumn ListBox

    Quote Originally Posted by pankaj2610 View Post
    Thanks a lot, it is th perfect answere to my question. But the listbox is showing all the information available in sheet 2. Instead of this it should show information related to contract number only, which is shown in Textbox16. The other purpose is that once the user select the contract number & fill all the information in Userform1 & UserForm2 & press the enter command button the information need to updated in listbox also & show the recent change information in list box.
    Presently the information in Listbox is updated after reopening the userform. Attaching herewith previous excel sheet which shows the update in listbox once Enter command button is press. Also attaching herewith the updated excel sheet which need the same change.
    Thnaking you in anticipation.
    Dear Excel Guru appreciate your response in this view

  10. #10
    Registered User
    Join Date
    08-25-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Multicolumn ListBox

    Dears Would like to wish you all Happy New Year, Request your help on the above post, it should show only the search result, presently it is showing all the records in the sheet.

  11. #11
    Registered User
    Join Date
    08-25-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Multicolumn ListBox

    Hello, Can anybody help to sortout the problem mentioned above & in attached excel sheet

+ Reply to Thread

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