+ Reply to Thread
Results 1 to 3 of 3

Problem on define dinamic Combobox list

  1. #1
    Registered User
    Join Date
    03-04-2019
    Location
    Italy
    MS-Off Ver
    MS professional Plus 2013
    Posts
    6

    Problem on define dinamic Combobox list

    Good Day,
    Iam having difficulty on setting up a dynamic Combobox in my userform.

    The VBA stop executing the 'DINAMIC COMBOBOX

    Procedure is:

    If REG2.Text = "KCA Deutag" Then

    REG1.Enabled = True
    FModification.Visible = True
    FrameQuery.Visible = False
    FOutputbox.Visible = True
    CMDSave.Enabled = True

    'DINAMIC COMBOBOX
    Worksheets("DBDB").Range("J3", Range("J" & Rows.Count).End(xlUp)).Name = "Dynamic"
    REG7.RowSource = "Dynamic"

    Worksheets("DBDB").Range("AK3", Range("AK" & Rows.Count).End(xlUp)).Name = "Dynamic1"
    REG8.RowSource = "Dynamic1"

    'MAX LENGHT NUMBER
    REG1.MaxLength = 5
    End If

    If REG2.Text = "3rd Party Company" Then
    REG1.Enabled = False
    Label2.Visible = True
    REG17.Visible = True

    'DINAMIC COMBOBOX
    Worksheets("DBDB").Range("P3", Range("P" & Rows.Count).End(xlUp)).Name = "Dynamic"
    REG7.RowSource = "Dynamic"

    Worksheets("DBDB").Range("BM3", Range("BM" & Rows.Count).End(xlUp)).Name = "Dynamic1"
    REG8.RowSource = "Dynamic1"

    'MAX LENGHT NUMBER
    REG1.MaxLength = 7
    End If

    End Sub

    Your guys help on this matter is more then welcome

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Problem on define dinamic Combobox list

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    03-04-2019
    Location
    Italy
    MS-Off Ver
    MS professional Plus 2013
    Posts
    6

    Re: Problem on define dinamic Combobox list

    Problem on define dinamic Combobox list
    Good Day,
    Iam having difficulty on setting up a dynamic Combobox in my userform.

    Hi have attached also the file in subject.

    The VBA stop executing the 'DYNAMIC COMBOBOX

    Procedure is:

    Please Login or Register  to view this content.
    Your guys help on this matter is more then welcome
    Attached Files Attached Files

+ 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] Permission Denied Error Trying To Define A List For A Combobox
    By Jenn68 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-08-2019, 02:57 AM
  2. ComboBox populate Define Name from another worksheet.
    By calvinle in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-04-2014, 11:50 AM
  3. [SOLVED] Dinamic List with group by
    By martinpaiva in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-26-2013, 10:50 AM
  4. How to Define Combobox' Variables Without Recording Them Into Excel Sheet?
    By Timur Aykut YILDIRIM in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-04-2012, 10:24 AM
  5. ComboBox.list = Array Validation problem
    By D3Pratt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-10-2009, 05:30 PM
  6. using MATCH or similar to define Sheet name from Combobox in userform.
    By partyman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-17-2009, 05:34 AM
  7. [SOLVED] dinamic contents of combobox, listbox etc
    By Zaphod in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-30-2005, 08:00 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