+ Reply to Thread
Results 1 to 8 of 8

option button to cell

  1. #1
    Forum Contributor
    Join Date
    05-24-2012
    Location
    Racine, wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    225

    option button to cell

    Hi all

    I have attached a sample workbook because the original is too big.

    I could use some help on this code since I don't really know any code, what I'm attempting to do is
    when the form opens and they click the option button under the yes, that an amount of $30.00 will
    show up in cell C1, and when they pick the option button under the NO, I can write in the amount
    and that amount will show up in cell C1.

    Thanks
    Keith
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: option button to cell

    Put this under the userform code

    Please Login or Register  to view this content.

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

    Re: option button to cell

    I want only add one thing. You van write:
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    05-24-2012
    Location
    Racine, wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    225

    Re: option button to cell

    Hi guys thanks for your response

    is there a way that every time I open the form it fills strait down in column c?

    I'm going to mark this solved and add rep to you guys next time I log on which will be in a few hours or sooner

    Thanks
    Keith

  5. #5
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: option button to cell

    Yes, just write code into the UserForm Initialize procedure. You many want to specify start and end rows that fill down.

  6. #6
    Forum Contributor
    Join Date
    05-24-2012
    Location
    Racine, wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    225

    Re: option button to cell

    Thanks stnkynts

    Only problem is I don't know how to code it , but if I did lol, I would make next entry in E1, skipping D1, then every other entry into,
    G1, I1, K1, M1, O1, and so on, the reason is because the form I'm adding the code too, has 2 columns, for each entry. I attached what was done so far
    if you feel like helping me out on this, I need the next entry to be entered into the yellow cells. the original program is too big to post.

    Thanks
    Keith
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: option button to cell

    Do you mean like this?

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    05-24-2012
    Location
    Racine, wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    225

    Re: option button to cell

    yes that works perfect for the sample workbook, but I can't get it to work in the other workbook ,

    i'll copy the code I have from the real workbook that I'm trying to use the code in, maybe you can fix it, I tried
    but, I'm too much of a noob at this.

    oh yea I need to have the first entry in cell F21.

    Please Login or Register  to view this content.
    Thanks
    Keith
    Last edited by Quicksnot; 03-25-2014 at 10:54 AM.

+ 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. [SOLVED] Deactivate option button and cell
    By mani_bbc05 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-24-2013, 06:11 PM
  2. Option button value to active cell ?
    By dannac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-04-2012, 08:40 PM
  3. Option Button to Unprotect Cell
    By jrg123 in forum Excel General
    Replies: 0
    Last Post: 07-18-2012, 04:13 PM
  4. cell as option button
    By xenon_aniki in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-11-2009, 02:52 AM
  5. Help to get values from 3 option button in one cell
    By Valeriy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2005, 09:28 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