+ Reply to Thread
Results 1 to 5 of 5

Combination Combo Boxes - with a Twist

  1. #1
    Registered User
    Join Date
    04-28-2009
    Location
    Melborne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    15

    Combination Combo Boxes - with a Twist

    Hi Guys,

    I am just starting to touch VBA / Excel / Macro's again after a couple year absence.

    I am working on a reporting project (which I am sure is going to lead to numerous questions on here), however the first one I want to work out is the following.

    I have a workbook - it has a series of worksheets based around monthly reports. (e.g. Jan-09, Feb-09, Mar-09)

    I want to create a Combo Box that shows the list of Worksheets
    Then based upon the Worksheet selected the 2nd combo box shows the values in cells b2:b37 (and in an ideal world removes any 'blank/null' results)

    To populate some of the other drop downs in the forms I have created a Worksheet called Global (if that makes things easier for solutions).

    So is this possible? And how would I go about doing it?

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Combination Combo Boxes - with a Twist

    Hi

    Where are the comboboxes? Directly on the spreadsheet, or on the forms? If on the forms, then how do you raise the form?

    rylo

  3. #3
    Registered User
    Join Date
    04-28-2009
    Location
    Melborne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Combination Combo Boxes - with a Twist

    On the form - the 'featured' data will vary from month to month
    (its basically a dashboard)

    My vision (I have only really started working on this today) - is that one person will be editing the content via the forms - he can then generate the dashboard - and then export that out to PDF (well.... print to PDF)

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Combination Combo Boxes - with a Twist

    have a look at the attached example
    Attached Files Attached Files
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    04-28-2009
    Location
    Melborne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Combination Combo Boxes - with a Twist

    I must be really out of it - I think I have applied everything correctly - however I can't get the user form to show the drop downs.

    Here is the excel file I am building it out of - I have another one i am trying out bits of code atm - really haven't done too much yet
    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)

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