+ Reply to Thread
Results 1 to 11 of 11

Processing results to a worksheet

  1. #1
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Processing results to a worksheet

    Hi,
    Two sets of circumstances:

    1) I am making a UserForm, and when a Command Button is selected, I would like the information from ComboBox1 to be sent to a worksheet (Sheet One).....let's say into cell A1. The next time that form and combobox are filled, I want that information to go into the next available cell on the worksheet, in this case A2, and so on. This part is intended to track all results from the UserForm.

    2) Same situation, but when the combobox is filled, I also want only certain answers ("Non-Satisfactory" for example) to go onto a separate worksheet (Sheet Two). This is to track specific trends.

    Can anyone help? Thank you
    Last edited by tapsmiled; 07-16-2014 at 07:13 PM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Processing results to a worksheet

    Ok

    This code meets your first requirement.

    Please Login or Register  to view this content.
    Modified to meet Part 2

    Please Login or Register  to view this content.

    I never insert the results at the bottom, as the latest results are what you usually want to see.
    So they should be at the top.

    to do that

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 07-16-2014 at 07:32 PM.

  3. #3
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Processing results to a worksheet

    Here, this is a bit more specific:

    Please Login or Register  to view this content.
    To this code, I want to be able to track any time a user selects "Non-Satisfactory" for a response for the ComboBoxes. Basically, I want to know the criteria that non-satisfactory was chosen so that I can track certain trends among employees.

    The way I have prepared the TRENDS worksheet is that I have a column indicating DATE (A) then 17 columns B:R (1 for each of the ComboBoxes) where I intend the results to go. I only need to track the non-satisfactory answers. So, the first time a user SUBMITS the UserForm, =TODAY() will go into A2 then every time non-satisfactory is chosen, the number 1 will appear in that corresponding column between B2:R2. The next time someone SUBMITS that form, it will go into B3:R3 and so on. It would be great if I could compile all of the results by month, so I could produce a report saying, "For the month of January, the newest trend involves Dispatchers not verifying the address"-----since that is one of the criteria being scored via the ComboBoxes.

    Does this make sense?

  4. #4
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Processing results to a worksheet

    @mehmetcik:
    Thank you very much. Can you look at what I just posted please. Sheet 1 is called QA and Sheet 2 is called TRENDS. I can try to modify the code you provided if you can just give me a quick example of how to apply it here.

    THANKS!!!!

  5. #5
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Processing results to a worksheet

    I modified it to my sheets, but it did not send anything to the TRENDS sheet. here is how I modified it:

    Please Login or Register  to view this content.
    Last edited by tapsmiled; 07-16-2014 at 08:19 PM.

  6. #6
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Processing results to a worksheet

    Your first Row should be titles. ie A1 must have something in it

    Why did you use A2 and B2 instead of A1?, the offset does that for you.

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 07-17-2014 at 11:14 AM.

  7. #7
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Processing results to a worksheet

    A1 is where I have the header DATE. B2 is just the first spot where I wanted the info to appear

  8. #8
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Processing results to a worksheet

    This is the worksheet where I want the information to go.

    There are 4 different UserForms that will be supplying the information to this TRENDS sheet. If you look across the top of this worksheet, there is the title for DATE, then several other groupings of 14-17 columns. Each of these 4 groupings represents 1 of the 4 different UserForms. So, any time 1 of those forms is submitted, I want to be able to track the total number of instances when Non-Satisfactory was chosen for each question. This will simplify the process of recognizing Trends that need to be addresses with the staff (for training purposes).

    I hope that makes sense.

    Here is how I attached the code that you provided:

    Please Login or Register  to view this content.
    It seems to have slowed down the processing of the form submission, and it is not producing any results on the TRENDS sheet.

    EDITED TO ADD: In case that wasn't clear, I'd like a "1" to appear in each of the corresponding boxes on the TRENDS sheet. B2 on the 911 Operator UserForm corresponds with TRENDS!ComboBox1, B3 is ComboBox2, etc. The FR Dispatcher UserForm ComboBox1 corresponds with S2 on the TRENDS sheet. The next time those forms are submitted, I want the info to go into Row 3, then Row 4.
    Attached Files Attached Files
    Last edited by tapsmiled; 07-17-2014 at 04:06 PM.

  9. #9
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Processing results to a worksheet

    If this needs to be simplified, I can just create columns on the TRENDS worksheet and, instead of a single column for each question, I can just have the command button transmit the question number and the date.

    Here's an example of what I m talking about. Once the information dumps to this TRENDS page, I would like to be able to pull the most frequently occuring instances where the Non-Satisfactory option was selected...highlighted on the Sample in yellow for the 911 UserForm and blue for the FR Dispatch UserForm.
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Processing results to a worksheet

    I tried this on a blank new sheet, and it didn't do anything.

  11. #11
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Processing results to a worksheet

    This is my most recent attempt:
    Please Login or Register  to view this content.
    The parts that appear in bold are what I added. I have tried .Value and .Text and nothing is producing a result. In fact, i am getting a debug error with the

    Please Login or Register  to view this content.
    line.

    PLEASE HELP!!!!!

+ 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. Sheet-related processing causes Excel VBA Userform to stop processing Tab/Enter
    By Joaquin M Lopez Muno in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-22-2014, 03:02 PM
  2. Reduce processing time for processing multiple excel sheets
    By rexer231 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2014, 09:25 AM
  3. Processing football(soccer) results
    By teacherphil in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-11-2013, 10:02 AM
  4. Using Excel 2007 for statistical processing of test results
    By saratogacoach in forum Excel General
    Replies: 0
    Last Post: 02-01-2011, 10:59 AM
  5. how to batch processing excel worksheet modifications?
    By neptune in forum Excel General
    Replies: 4
    Last Post: 01-13-2005, 05:06 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