i have a sheet with 10 CheckBoxes, if one or all are choosen, i want to see the text that are in front of the checkboxes, appear in another sheet, but only the text belong to the check boxes that were choosen.
I dont know how to do that, can you help me ?
Last edited by davesexcel; 12-13-2009 at 10:58 AM. Reason: Bad title,1st time user, needs to read the rules
the Checkboxes, are selection boxes, i grab from the form and draw in the sheet
i am a beginning, i hope i can make me understand.....
How about this,
Copy this code, right click on the Checkbox and select Assign Macro,select New or edit depending if you have a macro assigned to it already.
paste this code between the sub ...() and end sub
Code:Dim myCBX As CheckBox Set myCBX = ActiveSheet.CheckBoxes(Application.Caller) If myCBX = xlOn Then Worksheets("Sheet2").Range("A1") = myCBX.Caption Else Worksheets("Sheet2").Range("A1") = "" End If
ok, it didnt work, maybe its because i am a noob....
i will send the file :
the goal is all the checkboxes that appear in the sheet named APF Form (total are 104), when checked, the text that is in front appear on the sheet named relatorio, in the cells at yellow, of course is many checkboxes are selected, it could appear as a scroll in the yellow cells (that are merged).
i hope this can help.
Last edited by Nuno Neves; 12-14-2009 at 06:12 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks