+ Reply to Thread
Results 1 to 3 of 3

Hi ... Am new to this forum with a question... Please Help!!!

Hybrid View

  1. #1
    Registered User
    Join Date
    07-15-2014
    Location
    India
    MS-Off Ver
    Ms Office 2010
    Posts
    0

    Post Hi ... Am new to this forum with a question... Please Help!!!

    Hi,


    How to interlink two columns in a excel using excel macros?


    Following are the steps describing the requirements of my small project:


    step 1: Column 1 has values entered through a text box and a command button using userform through VBA
    step 2: I have combo box in which the entered values are populated from excel(Column 1)


    Now,
    step 3: On selecting the value from the drop down, i should enter the value in the another text box and click on command button, to add the entered value in the Column 2 which is linked to the value selected from drop down.
    step 4: I should be able to add multiple values (one at a time) to the Column 2 which has dependency with the single value selected from drop down(i should add multiple values for the single value selected from drop down)
    step 5: I should again retrieve the value from column 2 to another combo box.


    I completed step 1 and step 2.
    Can you help me to achieve step 3,4 and 5 using Excel Macros VBA

    For eg:
    1. I add country names through textbox1 to Column1 of excel
    2. I display combobox1 with added country names
    3. I select any country name from combobox1 and add the State names through textbox2 to Column2 of excel
    4. I again display the combobox2 with country names and on selecting the country name, i should display state names in combobox3 from Column2 of excel

    Thanks in Advance

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello Helena Steffy,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    23,982

    Re: Hi ... Am new to this forum with a question... Please Help!!!

    This is the Introduction Forum where no questions should be posted. If you start a thread in any of the other sub-forums, I´m sure it will not take long before your request will be solved there.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. New to this forum with a question :)
    By jcs2105 in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 07-16-2014, 12:36 PM
  2. forum question
    By allgeef in forum Excel General
    Replies: 2
    Last Post: 03-26-2011, 11:51 AM
  3. Question about this Forum
    By mike12345 in forum Excel General
    Replies: 4
    Last Post: 06-26-2009, 02:49 PM
  4. Forum Question
    By Hooseria in forum Excel General
    Replies: 1
    Last Post: 05-08-2009, 07:36 AM

Tags for this Thread

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