+ Reply to Thread
Results 1 to 10 of 10

need vba to datavalidation throgh combobox1-5,

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    need vba to datavalidation throgh combobox1-5,

    Dear Expert

    I want gets data list up through 6 combobox.. I want get values from sheet (DV)

    Depends upon value of column A:A Indirect B:B ,
    Select the B:B value Indirect C:C,
    Select the C:C Value Indirect D:D
    Select of D:D Value Indirect E:E....

    If Idea Select In Combobox-1 Then List Up Center & Pad
    If Center Select In Combobox-2 Then List Up If C340 Select In Combobox-3 List 7 Topbill In Combox 4
    If 52-3118702 Select In Combobox-4 Then List Up If Win8 64Bit Em En Select In Combobox-5


    find the attachment you may get understand easily
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: need vba to datavalidation throgh combobox1-5,

    any experts help on this?

  3. #3
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: need vba to datavalidation throgh combobox1-5,

    Why do you need vba?
    If you can't figure out how a formula works, try stepping through it using "Evaluate Formula" in the Formula Auditing menu item in the tools menu!

    If you want to see where your code went wrong, try stepping through it by clicking in the code and pressing F8 and watch as the magic happens!


    If you are happy with any of the results, please add to the contributor's reputation by clicking the star icon.

  4. #4
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: need vba to datavalidation throgh combobox1-5,

    i created one form with 5 comboboxes, from list of one column i want derivate another value...

  5. #5
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: need vba to datavalidation throgh combobox1-5,

    TAT_MARK.xlsb Please see the following. If you really want it using VBA, I could work that out for you as well.

    In the attached you will see the "comboboxes" above your lists, they are populated data validations using named ranges from the columns to the left of your table of lists. The "unique" lists are generated from a combination of the lists in your table and the selected items from the chosen value in the column to the left. Just so you know, the formulas are not all the same. The formula generating the first column of unique values from your first list is different as are the formulas in the top row.

    Let me know if you like it.

  6. #6
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: need vba to datavalidation throgh combobox1-5,

    dude Its really works... but actual requirement is updates give in userform and will save data in excel mean while sheet is protected.. if you help with vba code really helpful ..

  7. #7
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: need vba to datavalidation throgh combobox1-5,

    I really don't know what you wanted the save data button to do, but I got everything else to work. Check it out here.TAT_MARK.xlsb

  8. #8
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: need vba to datavalidation throgh combobox1-5,

    Perfect Dude !!! One and only requirement i have one combo and 5 textbox added I want save data in E.G sheet whenever select all combobox and enter data into text then i click button savedata into sheet E.G sheet find the attachment.........please dude this only last requirement from mine.
    first thanks for spend your value time for me....
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    03-12-2009
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 365
    Posts
    236

    Re: need vba to datavalidation throgh combobox1-5,

    Hi, I'm not too sure how you were planning on filling in the textboxes, they are all disabled, I'm not sure. Anyway, this should work for you. TAT_MARK (1).xlsb

  10. #10
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: need vba to datavalidation throgh combobox1-5,

    Dude Perfect!!! Thanks Alot and for your patience ........Everstrivinb Ever ever Master of Macro... Thanks once again

+ 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. How to make a button in a user form invisible or delete it permanently throgh code
    By zarasandreas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-23-2010, 06:34 PM
  2. error on datavalidation
    By D_Rennie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-03-2009, 04:16 PM
  3. ComboBox1
    By zplugger in forum Excel General
    Replies: 6
    Last Post: 03-10-2009, 03:53 PM
  4. vba help for datavalidation
    By rajeshparikh64 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-02-2006, 10:21 PM
  5. ComboBox1
    By grahammal in forum Excel General
    Replies: 1
    Last Post: 03-20-2006, 08:35 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