If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Check box
In Excel: How can I make Checkbox on each row? Thanks. -- accessman2 ------------------------------------------------------------------------ accessman2's Profile: http://www.excelforum.com/member.php...o&userid=27953 View this thread: http://www.excelforum.com/showthread...hreadid=474980 |
#2
|
|||
|
|||
Hi Accessman,
Using VBA, try: '============= Sub InsertCheckBoxes() Dim rng As Range Dim c As Range Set rng = Range("A1:A20") '====== CHANGE Application.ScreenUpdating = False For Each c In rng.Cells With ActiveSheet.CheckBoxes.Add(c.Left _ + 5, c.Top - 2, 5, 5) .Caption = "" .LinkedCell = c.Address(False, False) End With c.Font.Color = vbWhite Next c Application.ScreenUpdating = True End Sub '============= Change ("A1:A20") to your range of interest. If you are not faniliar with macros, you may wish to visit David McRitchie's 'Getting Started With Macros And User Defined Functions' at: http://www.mvps.org/dmcritchie/excel/getstarted.htm --- Regards, Norman "accessman2" wrote in message ... In Excel: How can I make Checkbox on each row? Thanks. -- accessman2 ------------------------------------------------------------------------ accessman2's Profile: http://www.excelforum.com/member.php...o&userid=27953 View this thread: http://www.excelforum.com/showthread...hreadid=474980 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I check multiple check boxes with one click? | tobesus | Using Forms | 1 | August 12th, 2005 01:38 AM |
One Check box to check all check boxes | Mark Senibaldi | Using Forms | 2 | April 12th, 2005 04:27 PM |
File Check Out System | Emily | Database Design | 3 | September 29th, 2004 05:25 PM |
Spelling & Grammar Check -- Marked Text Skip | Larry Coles | General Discussion | 1 | September 6th, 2004 01:10 AM |
Check box used in Macro | Kurt | Using Forms | 2 | September 1st, 2004 03:22 PM |