+ Reply to Thread
Results 1 to 21 of 21

listbox problem

Hybrid View

walid66 listbox problem 05-22-2008, 10:40 AM
Richard Buttrey Hi, Difficult to comment... 05-22-2008, 10:51 AM
walid66 I cute out most of the data... 05-22-2008, 11:01 AM
Richard Buttrey Hi, If you zip that file... 05-22-2008, 11:05 AM
walid66 I already zipped it and still... 05-22-2008, 11:07 AM
  1. #1
    Forum Contributor
    Join Date
    12-09-2006
    Posts
    229

    listbox problem

    I have listbox on a userform with number and the way it should work is that when I click on a number in listbox the data correspond to this number should be copied from one sheet to another sheet and gets plotted on graph. The problem is when I click on a number in the list box the data moves from one sheet to another and get plotted but only after I exit the userform sheet. I want all this done while the userform still open is there something I am doing wrong? Any help is appreciated. the file is too big to attach.

    Thanks

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Hi,

    Difficult to comment without sight of the workbook. Any chance of cutting out most of the records, just leaving a sample and attaching here.

    Is it a ListBox from the Excel Forms toolbar, or an ActiveX ListBox driven by the Visual Basic Environment?

    Can you post the macro that's attached to the ListBox, and any macros attached to any of the Worksheet events, i.e. Change, Selection_Change, DeActivate etc.

    Rgds

  3. #3
    Forum Contributor
    Join Date
    12-09-2006
    Posts
    229
    I cute out most of the data but the code is little large so the file size is still 210kb. Do you have an email I can send it to you?

    Thanks

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Hi,

    If you zip that file it should reduce it below the 100Kb limit so that you can attach it. Just right click on the file name in Windows Explorer and choose the zip option. If you still have problems post back and I'll PM my email address.

    Rgds

  5. #5
    Forum Contributor
    Join Date
    12-09-2006
    Posts
    229
    I already zipped it and still large also I need to attach another file where the data get copied from. So there is two files.

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello wlaid66,

    Try seeting your UserForm.ShowModal property to False. This will enable you to work in Excel while the UserForm is displayed.

    Sincerely,
    Leith Ross

+ 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