+ Reply to Thread
Results 1 to 5 of 5

Listbox problem

  1. #1
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Listbox problem

    Hello,

    I would like to ask some help regarding listbox. My target is that if I select a country in combox1 then I would like to see only those cities which are in that country.
    Could somebody help me how to do this?
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Miroslav R.'s Avatar
    Join Date
    05-16-2013
    Location
    NMnV, Slovakia
    MS-Off Ver
    Excel 2007
    Posts
    479

    Re: Listbox problem

    Hi there,
    it is a simple bit of code:

    Please Login or Register  to view this content.
    test.xlsm

    Hope it helps
    Regards
    Miroslav R.

    (If You like my solutions, feel free to add reputation.)

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Listbox problem

    Hi

    Check this pls.
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Listbox problem

    Try this...

    Please Login or Register  to view this content.
    TIP: do not use the End command to exit your userform. The End command stops all code execution (not just the userform) and could have unintended consequences.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  5. #5
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Re: Listbox problem

    Hello Guys,

    Thank you the help, all of answer very useful for me.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Listbox problem
    By aditi7 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-17-2013, 05:46 AM
  2. [SOLVED] problem with listbox output to another listbox
    By AndyE in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-02-2013, 04:52 AM
  3. Listbox to Listbox, no duplicates & submitting same UserForm data for each Listbox entry.
    By jamieswift1977 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-18-2012, 12:18 PM
  4. ListBox Problem
    By Jl9r in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2008, 03:08 AM
  5. listbox problem #2
    By Keith in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-12-2005, 02:06 PM

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