+ Reply to Thread
Results 1 to 3 of 3

User form to post data and charts according to user defined selections

  1. #1
    Registered User
    Join Date
    11-12-2013
    Location
    Geneva
    MS-Off Ver
    Excel 2007
    Posts
    59

    User form to post data and charts according to user defined selections

    Hi there,

    I need to create a functionality (userform?) in Excel that would allow a number of users to define preferences, using check boxes and dropdown menus. Once made the selections they hit a button that would retrieve data and load charts (ideally on the fly - ideally according the selection or formerly created, so they can be loaded and brought up to the "results" page).

    Am I dreaming? Is that possible?

    This is a very early stage and little description has been posted, but just would like to know whether it is possible and if you could point me out to the right information sources or tutorials to start with it, as I have not found anything so far that could help me with this.

    Many thanks!!!

  2. #2
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Re: User form to post data and charts according to user defined selections

    Open Excel
    right click top ribbon and select "Control Toolbox"
    From this select "Button" and create in your excel sheet

    Select Alt F11 to open VBA editor
    Insert userform (this will create a blank form which you can then tailor).

    Personally I use a blank spreadsheet (usually Sheet 3) and create random codes and drop downs there.

    Define name
    Create the list you want your drop down boxes (one option per line), select the whole area and in the top left corner where you see the cell value delete the value and typwe in the name oif your options.

    On your user form create a combobox and in the Properties window search for "RowSource", in there type = sheet and name of drop down (=Sheet2!Names).

    Then right click the form and select "View Code", this will open the window to type in all the fancy VBA code you want.

    In a module you want to create the below sub which when you select the box in excel will open your userform.

    Please Login or Register  to view this content.
    I hope this is enough to get you started
    Last edited by Sc0tt1e; 12-12-2013 at 11:09 AM.

  3. #3
    Registered User
    Join Date
    11-12-2013
    Location
    Geneva
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: User form to post data and charts according to user defined selections

    Many thanks!

    I guess that I was expecting the sort of answer: "Yes, retrieving data and loading charts is possible according to user preferences from a userform". Is there any way to achieve this without VBA?

    To me it is really relevant to the user to visualize data (from the worksheet) and displaying existing charts or loading them (this sounds a too complex, right?)

    THanks!

+ 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. user defined/custom charts
    By minkus in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-31-2007, 04:23 PM
  2. Can not add user-defined charts
    By David DeRolph in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 05-16-2006, 04:50 PM
  3. User defined charts
    By Ajay in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-17-2006, 09:10 AM
  4. User-defined (Custom) Charts
    By BHARATH RAJAMANI in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-23-2005, 04:05 AM
  5. How to: User Form to assign a user defined range to a macro variab
    By TrevTrav in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2005, 04:06 PM

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