+ Reply to Thread
Results 1 to 4 of 4

VBA challenge, intending to write the resul of a Survey in a Worksheet. COMFUSED

  1. #1
    Registered User
    Join Date
    09-24-2013
    Location
    NYC
    MS-Off Ver
    Excel 2010
    Posts
    24

    Unhappy VBA challenge, intending to write the resul of a Survey in a Worksheet. COMFUSED

    Hi all, I'm learning VBA for Excell and I created a survey/inspection form with 13 multipage-tabs and 214 option buttons. I have four columns in every TAB = “Poor, Fair, Good and Excellent”. Under these ratings I have topics like “Carpet, Floor Appearance, Spot Cleaning, etc.” Depending of the user selection I write an evaluation note next to the last column. Ex. If the user chooses POOR I write “Needs Improvement” next to the last column (same row) and so on. I created a worksheet with the same layout in which I want to do the following: if the user chooses “POOR” I want to replace the corresponding CELL (“B6”) in the worksheet with 1 point, If the user chooses ‘’FAIR” replace the corresponding CELL (“C6”) with 2 points, if the user chooses “GOOD” replace the corresponding CELL (“D6”) with 3, if user chooses “EXCELLENT” replace the corresponding CELL (“E6”) with 4 points. I want to do the same for ALL 13 TAB then print the results in Range("A4:E71”). I’m confused on how to send the results to the worksheet.

    This is what I did for every option buttons:
    ------------------------------------------------------------------------------------------------------------------------------------------
    Private Sub OptCarpetPoor_Click()
    If OptCarpetPoor.Value = True Then
    CarpetComment.Caption = "Needs Improvement"
    CarpetComment.ForeColor = 255
    Else
    CarpetComment.Caption = ""
    End If
    End Sub
    -----------------------------------------------------------------------------------------------------------------------------------
    Help and thanks

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: VBA challenge, intending to write the resul of a Survey in a Worksheet. COMFUSED

    Why not just do all of this with some validated cells (dropdowns), and use some formulas to generate the results?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    09-24-2013
    Location
    NYC
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: VBA challenge, intending to write the resul of a Survey in a Worksheet. COMFUSED

    I decided to put everything on a “userform” in which people just “click” an option instead of navigate on a worksheet because most of the people using the survey/inspection form are not very familiar with Excel. I just want to display the userform when the worksheet is open, have the user complete the options, give them the option to print it and get done, that’s all.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: VBA challenge, intending to write the resul of a Survey in a Worksheet. COMFUSED

    I think you are underestimating people's skill at the cost of a lot of unneeded complexity.

+ 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. Updating online survey (google or Survey Monkey) through vba macro
    By VD1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-27-2013, 12:16 PM
  2. Product Selector Worksheet Challenge
    By excelwizardnonotyet in forum Excel General
    Replies: 2
    Last Post: 05-11-2012, 02:13 AM
  3. [SOLVED] Help: Reformatting worksheet: paste special challenge
    By Bettergains in forum Excel General
    Replies: 2
    Last Post: 09-16-2005, 08:05 PM
  4. [SOLVED] Whether 3 diff fields are blank determines several different resul
    By Bill R in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  5. Whether 3 diff fields are blank determines several different resul
    By Bill R in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2005, 11:05 AM

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