Consulting

Results 1 to 8 of 8

Thread: How to make custom dynamic user form

  1. #1
    VBAX Newbie
    Joined
    May 2024
    Posts
    1
    Location

    How to make custom dynamic user form

    So, I am wanting to do a custom, dynamic user form.

    I have a sheet that has a column (column B) of data (somewhere between 5 and 12 items and those can vary) that I want to dynamically populate into a user form. If they are populated I am going to put some text boxes, check boxes with them. I want to be able to do some manipulation with the results but that is another endeavor.

    I have searched on the net and cannot seem to find any information on how (or if) this can be accomplished.

    Any help would be appreciated.

    F

  2. #2
    VBAX Expert Logit's Avatar
    Joined
    Sep 2016
    Posts
    613
    Location
    You can formulate a custom User Form. It would help if you could provide more specific information how the form will be designed and
    where the dynamic data from column b is coming from.

  3. #3
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,217
    Location
    Welcome to VBAX Faxen. When you talk about "sheet" and "Column B" can I assume you are using Excel rather than Word. If excel then go here to see how it may be done https://www.youtube.com/watch?v=YQ7zOouPcEU
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  4. #4
    Microsoft Word MVP 2003-2009 VBAX Guru gmaxey's Avatar
    Joined
    Sep 2005
    Posts
    3,388
    Location
    Private Sub UserForm_Initialize()
      'Adjust to suit the range of records you want.
      ListBox1.List = Application.Worksheets("Sheet1").Range("A2:C3").Value
      ListBox1.RowSource = "Sheet1!A2:C3"
    End Sub
    Greg

    Visit my website: http://gregmaxey.com

  5. #5
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,771
    Location
    Quote Originally Posted by Faxen View Post
    So, I am wanting to do a custom, dynamic user form.

    I have a sheet that has a column (column B) of data (somewhere between 5 and 12 items and those can vary) that I want to dynamically populate into a user form. If they are populated I am going to put some text boxes, check boxes with them. I want to be able to do some manipulation with the results but that is another endeavor.

    I have searched on the net and cannot seem to find any information on how (or if) this can be accomplished.

    Any help would be appreciated.

    F
    You posted in the MS Word forum. This sounds like a MS Excel question

    If it it, let me know and I'll move it to the Excel forum where you'll get better respone
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

  6. #6
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,217
    Location
    Can someone knock on Faxen's door and see if he's alive?
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  7. #7
    Quote Originally Posted by gmaxey View Post
    Private Sub UserForm_Initialize()
      'Adjust to suit the range of records you want.
      ListBox1.List = Application.Worksheets("Sheet1").Range("A2:C3").Value grade calculator
      ListBox1.RowSource = "Sheet1!A2:C3"
    End Sub
    I plan to manipulate the user selections later, but that's a separate task for now.
    Is there a way to achieve this using VBA? Any code examples or resources you can recommend would be greatly appreciated.

  8. #8
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,217
    Location
    Welcome to VBAX Goodstudent6.
    is there a way to achieve this using VBA?
    Sorry, but you need to explain this a little better?
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •