+ Reply to Thread
Results 1 to 4 of 4

excel 2010, checkbox macro to change text upon doubleclick of cell?

  1. #1
    Forum Contributor
    Join Date
    09-12-2013
    Location
    chicago, illinois
    MS-Off Ver
    Excel 2010
    Posts
    109

    excel 2010, checkbox macro to change text upon doubleclick of cell?

    good day all. i am new here and new to excel vba. I have been doing alright but am stuck. I am in need of an example of macro code for this issue. I have multiple rows of data on my worksheet and 2 radio buttons on top in the 1st Row...data starts in the 5th row. I would like to be able to select one button and double click a cell to change that cell's text to red. if the 2nd button is selected i would like to be able to double click a cell and change its text to green. is this possible?

    thanks
    -Ryan
    Last edited by fredderf81; 09-12-2013 at 04:17 PM.

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: excel 2010, checkbox macro to change text upon doubleclick of cell?

    Hi Ryan,

    put this in your worksheet code
    Please Login or Register  to view this content.
    Please click the * below if this helps
    Please click the * below if this helps

  3. #3
    Forum Contributor
    Join Date
    09-12-2013
    Location
    chicago, illinois
    MS-Off Ver
    Excel 2010
    Posts
    109

    Re: excel 2010, checkbox macro to change text upon doubleclick of cell?

    Many thanks! worked perfectly - clicked the * =)

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: excel 2010, checkbox macro to change text upon doubleclick of cell?

    Welcome to the forum.

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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. Replies: 2
    Last Post: 12-19-2012, 12:29 PM
  2. Change excel 2010 macro to insert row
    By yonatan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2012, 01:55 PM
  3. Excel 2010 Macro Needed for Search, Compare & Change
    By BlueMoonNJ in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 05-08-2012, 04:38 PM
  4. Replies: 0
    Last Post: 07-29-2011, 07:19 AM
  5. change cell colour on doubleclick
    By tryer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-17-2009, 09:29 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