LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 460
Default No filter rows

This did put the check boxes in for me, but it does not work. Now I have 1000
check boxes that I am not sure how to delete unless I do them each one at a
time.
--



"Joel" wrote:

Make the linkcell column IV instead of Q where you can't see the True or False.

"Doug" wrote:

I just typed in the correct columns for which I am using. It writes "false"
in all of the Q column. How can I have it link to the Q column without
changing the cell values to false?

Sub Checkboxes()
'
'
LinkedColumn = "Q"
BoxColumn = "A"
BoxLeft = Range(BoxColumn & "1").Left
Boxwidth = Range(BoxColumn & "1").Width

'
For RowCount = 3 To 1000
BoxTop = Range(BoxColumn & RowCount).Top
BoxHeight = Range(BoxColumn & RowCount).Height

Set bx = ActiveSheet.Checkboxes.Add( _
Left:=BoxLeft, Top:=BoxTop, Width:=Boxwidth, Height:=BoxHeight)

bx.LinkedCell = LinkedColumn & RowCount
Range(LinkedColumn & RowCount) = False
Next RowCount
End Sub

--
Thank you!


"Joel" wrote:

something like this


Sub Macro1()
'
'
LinkedColumn = "C"
BoxColumn = "X"
BoxLeft = Range(BoxColumn & "1").Left
Boxwidth = Range(BoxColumn & "1").Width

'
For RowCount = 3 To 1000
BoxTop = Range(BoxColumn & RowCount).Top
BoxHeight = Range(BoxColumn & RowCount).Height

Set bx = ActiveSheet.CheckBoxes.Add( _
Left:=BoxLeft, Top:=BoxTop, Width:=Boxwidth, Height:=BoxHeight)

bx.LinkedCell = LinkedColumn & RowCount
Range(LinkedColumn & RowCount) = False
Next RowCount
End Sub

"Doug" wrote:

If not to long can I get you to write a macro for a check box in A3:A1000?

--



"Joel" wrote:

YOuca use either ActiveX or form control. The check boxes like all controls
and pictures are not part of the cell structure and sits ontop of the
worksheet. You either have to place each check box manually or write a macro
to add each check box.

"Doug" wrote:

How can I make the check boxes a part of the cell without placing one into
each individually? Also am I using the Activex or form controls?
--
Thank you!


"Joel" wrote:

Yes. the check boxes have a property LinkedCell which will put a true or
false on the worksheet to indicate if the box is checked. You can then filer
on the true and False Values

Make the column the same for each check box and make the row the row where
the check box appears.

"Doug" wrote:

I am needing to select rows that I don't want to be filtered out when I am
selecting filter parameters in various columns of my spreadsheet.
Is it possible to insert check boxes for each row to the left of my data so
that all that are checked will be overlooked during filtering data?
--
Thank you!



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter by Rows?? erriac Excel Discussion (Misc queries) 2 April 16th 09 09:23 AM
Advanced Filter - filter rows < jaws4518 Excel Discussion (Misc queries) 3 November 1st 06 05:48 PM
filter on the rows shlomop Excel Discussion (Misc queries) 2 September 13th 05 06:51 PM
how can i filter from two rows? Ali Excel Discussion (Misc queries) 1 December 20th 04 08:19 PM
Filter Rows Boba Excel Programming 1 February 8th 04 03:07 PM


All times are GMT +1. The time now is 06:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"