+ Reply to Thread
Results 1 to 4 of 4

Userform

  1. #1
    Registered User
    Join Date
    12-31-2011
    Location
    Oakbrook, IL
    MS-Off Ver
    Excel 2003
    Posts
    4

    Question Userform

    I have the following worksheet
    AGE A80A PPSP QTRLY MTHLY
    64 34.56 46.78 64.89 45.00
    65 73.45 25.56 33.98 56.87


    I have created a userform with 2 comboboxes 1 combobox selects state(it is working) 2nd combobox selects age(iti is working) right now I have 5 txtboxes that contain the dollar amounts from a80 - mthly
    If i select a state and select a age it populates the 5 txtboxes with a80a through mthly dollars what I am trying to do with no SUCCESS is IF I SELECT A STATE AND A AGE I WOULD LIKE TO BE ABLE TO USE 1 TXTBOX THAT WOULD PLACE THE DATA FROM A80A THROUGH MTHLY ON THE SELECTION AND HAVE THAT HEADER APPEAR.

    EXAMPLE STATE = ILLINOIS AND AGE = 64 PAYCODE = A80A GIVE ME THE DOLLAR AMOUNT FOR THAT CASE IN 1 TXTBOX AND HAVE THE HEADING APPEAR AS A80A
    IF I SELECT ILLINOIS AND AGE = 65 AND PAYCODE = MTHLY I WANT THAT DOLLAR AMOUNT TO APPEAR IN THE 1 TXTBOX AND HAVE THE HEADING APPEAR AS MTHLY


    I HAVE TRIED EVERYTHING I KNOW(JUST BEGINING VBA) AND CAN NOT FIGURE A WAY TO DO THIS
    HERE IS MY CODE SO FAR


    Please Login or Register  to view this content.
    THANKS GUYS
    Attached Files Attached Files
    Last edited by mrdoctor; 01-03-2012 at 07:10 PM. Reason: Fixed Spacing

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Having trouble attaining data in right concept IN USERFORM

    Can you post a simple workbook? And tag your code with (Without the space_

    [ code ]
    your code here ...
    and here ...
    and here
    [/code]

  3. #3
    Registered User
    Join Date
    12-31-2011
    Location
    Oakbrook, IL
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Having trouble attaining data in right concept IN USERFORM

    Bump no response

  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: Having trouble attaining data in right concept IN USERFORM

    Quote Originally Posted by mrdoctor View Post
    Bump no response
    Add the code tags



    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    Hope that helps.

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

    Free DataBaseForm example

+ 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