+ Reply to Thread
Results 1 to 2 of 2

list box initialization

Hybrid View

Avinashch list box initialization 05-15-2015, 12:09 PM
nigelbloomy Re: list box initialization 05-15-2015, 12:34 PM
  1. #1
    Registered User
    Join Date
    05-05-2015
    Location
    india
    MS-Off Ver
    2010
    Posts
    20

    list box initialization

    Hi All,

    I have two data validation lists in sheets. One for region and second for countries in that region. I want the country list to be blank when region changed. List country is a subset of List region.

    Any help shall be highly appreciated.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: list box initialization

    Add this into the code for Sheet1 (India). It just listens for a change to the region dropdown and then clears out the country dropdown.

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Address = "$B$4" Then
        Range("B7").ClearContents
        Debug.Print "I ran"
    End If
    End Sub

+ 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. VBA Chart initialization!!
    By meus in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-23-2015, 05:19 PM
  2. UserForm Initialization
    By WThornton59 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-11-2009, 09:31 AM
  3. UserForm Initialization issue
    By WillysK5 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-31-2009, 12:26 PM
  4. array initialization
    By stanigator in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-31-2007, 05:40 PM
  5. [SOLVED] UserForm Initialization
    By Patrick Simonds in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2005, 05:47 AM

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