PC Review


Reply
Thread Tools Rate Thread

check boxes + autofilter - is it possible?

 
 
Dirk Diggler
Guest
Posts: n/a
 
      21st Mar 2007
hello,

I'd like to use Excel in automation mode to create a worksheet in which
consecutive columns of a row contain 1) a checkbox and 2) a label. I am
a beginner in this subject and all I have done so far is only filling "a
label" column using a code similar to:

oE = new ActiveXObject('Excel.Application');
oW = oE.Workbooks.Add();
oW.Activate();
for(i=1;i<n;i++) {
..
oW.Worksheets(1).Cells(i,2).value = Label(i);
..
}

I have two questions:
1) Is it possible "to link" a check box with appropriate "label" cell
within the same row, in a way which allows to use autofilter on "label"
column, and which make "linked" check box to disappear as label is
filtered out, and appear again when a label is not filtered?

2) Is it possible to do this with VBA or JScript, and how?

I would greatly appreciate your help and suggestions. Any
link/example/www resource/tutorial would be very helpful.

thanks,
DD.
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      21st Mar 2007
Check your other post for an alternative suggestion.

Dirk Diggler wrote:
>
> hello,
>
> I'd like to use Excel in automation mode to create a worksheet in which
> consecutive columns of a row contain 1) a checkbox and 2) a label. I am
> a beginner in this subject and all I have done so far is only filling "a
> label" column using a code similar to:
>
> oE = new ActiveXObject('Excel.Application');
> oW = oE.Workbooks.Add();
> oW.Activate();
> for(i=1;i<n;i++) {
> ..
> oW.Worksheets(1).Cells(i,2).value = Label(i);
> ..
> }
>
> I have two questions:
> 1) Is it possible "to link" a check box with appropriate "label" cell
> within the same row, in a way which allows to use autofilter on "label"
> column, and which make "linked" check box to disappear as label is
> filtered out, and appear again when a label is not filtered?
>
> 2) Is it possible to do this with VBA or JScript, and how?
>
> I would greatly appreciate your help and suggestions. Any
> link/example/www resource/tutorial would be very helpful.
>
> thanks,
> DD.


--

Dave Peterson
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Check/Uncheck boxes based on checking 1 of 30 boxes Steve Stad Microsoft Access VBA Modules 8 24th May 2010 01:26 PM
Show check boxes which arn't blank, hide check boxes which are bla Accessorise Microsoft Access Forms 1 12th Jun 2008 08:29 AM
Make check boxes look like radio check boxes? AAaron123 Microsoft VB .NET 2 24th Apr 2008 02:24 AM
check boxes + autofilter - is it possible? Dirk Diggler Microsoft Excel Discussion 5 22nd Mar 2007 12:49 AM
Re: Hiding rows containing drop-down list boxes and check boxes Dan E Microsoft Excel Misc 0 11th Jul 2003 07:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:45 PM.