Cell Height containing Checkbox

prh26

New Member
Joined
Mar 21, 2011
Messages
3
Hi Everyone. This is the first forum I've ever been on and this is my first post, so please let me know if I need to provide more details than below.

I'm using Excel 2007 and have a spreadsheet with numerous columns. All of cells in the columns are wrap enabled. The 2nd column on the sheet has a checkbox which is unchecked...but then has to be checked once an that line item is complete (it's for invoicing work orders).

My Issue: when any of the columns have to wrap due to the amount of text entered, the checkboxes tend to get jumbled and more than one checkbox ends up in the same cell. They almost act like clip art.

Does anyone know how to change how the checkbox behaves? I'm trying to get one checkbox per cell in a particular column...no matter what the height.

Thank you for reading this and helping :)

-prh26
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
the best way to go about creating checkboxes would be by code especially if your making alot of them. right click the sheet tab your working on and click View Code, paste the following code in the window, modify the cell range and run it by pressing F5. try it out on a blank sheet first to get the feel for it.

Sub ADDCHECKBOX()
Dim cell As Range
For Each cell In Range("b2:b8")
With ActiveSheet.CHECKBOXES.Add(cell.Left, cell.Top, cell.Width, cell.Height)
.LinkedCell = cell.Offset(, -1).Address(External:=True)
'.Interior.Color = RGB(80, 150, 220) 'or xlNone or xlAutomatic
.Display3DShading = True
.Caption = ""
.Border.Weight = xlThin
.Height = 17
End With

Next

End Sub
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,304
Members
452,904
Latest member
CodeMasterX

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top