+ Reply to Thread
Results 1 to 5 of 5

Cascading user form combo boxes?

  1. #1
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Wisbech England
    MS-Off Ver
    Excel 2010
    Posts
    308

    Cascading user form combo boxes?

    Hi all.
    I have a workbook that I'm using fpr courses booking, it has a combo boxes so that I can select manager name, area and delegate name and click command button which puts all information onto the list. Its ok but I would like to use the userform instead of spread sheet to capture data.
    I tried to copy the code from worksheet to userform but somethig is causing an error. I would appreciate your help in this matter.
    Thank you in advance.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Cascading user form combo boxes?

    Course booking form with code.xlsm

    Step 1
    Instead of calling an event macro in the workbook_open sub - you run the macro by triggering the event.

    Please Login or Register  to view this content.
    Elegant Simplicity............. Not Always

  3. #3
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Wisbech England
    MS-Off Ver
    Excel 2010
    Posts
    308

    Re: Cascading user form combo boxes?

    Quote Originally Posted by AndyLitch View Post
    Attachment 296138

    Step 1
    Instead of calling an event macro in the workbook_open sub - you run the macro by triggering the event.

    Please Login or Register  to view this content.
    Hi Andy
    Thanks for your help however I wanted it on the userform rather than on the worksheet, yst data will be saved on a worksheet but it would be captured by userform. it works great on worksheet but it would be even better if I could have it on userform.
    There's a userform in workbook that I would like to use.
    Thank you again
    Dan

  4. #4
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Cascading user form combo boxes?

    Dan try this in the code module for sheet1

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    08-29-2011
    Location
    Wisbech England
    MS-Off Ver
    Excel 2010
    Posts
    308

    Re: Cascading user form combo boxes?

    Quote Originally Posted by AndyLitch View Post
    Dan try this in the code module for sheet1

    Please Login or Register  to view this content.
    Hi Andy
    I am getting the following error in my userform code:
    error 1.jpg
    Cheers for your help I really appreciate it :-)

+ 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. populating list boxes and combo boxes in a user form.
    By ahceinaej in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-10-2014, 11:54 AM
  2. User Form with with Populating Combo Boxes
    By Maneesh Massey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-23-2013, 04:46 AM
  3. combo box user form code for two combo boxes
    By robert.begley1 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-01-2012, 02:25 PM
  4. Cascading Combo Boxes in User Form
    By CRIMEDOG in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-02-2009, 10:44 PM
  5. [SOLVED] Excel User form with 4 Combo Boxes
    By ca1358 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-16-2006, 03:10 PM

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