Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default CheckBox Query


Hi

I've got 14 checkboxes. Each one when ticked picks up a different se
of numbers. They don't however work cumulatively ie. click 3 boxes an
get the cumulative result. Is there a piece of coding I need to add t
eack of the checkbox macros???

Would appreciate some insight ;

--
TheDee
-----------------------------------------------------------------------
TheDeep's Profile: http://www.excelforum.com/member.php...fo&userid=2667
View this thread: http://www.excelforum.com/showthread.php?threadid=39944

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default CheckBox Query

I think you need to provide much more detail to get a useful
answer.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"TheDeep"
wrote in message
...

Hi

I've got 14 checkboxes. Each one when ticked picks up a
different set
of numbers. They don't however work cumulatively ie. click 3
boxes and
get the cumulative result. Is there a piece of coding I need to
add to
eack of the checkbox macros???

Would appreciate some insight ;)


--
TheDeep
------------------------------------------------------------------------
TheDeep's Profile:
http://www.excelforum.com/member.php...o&userid=26675
View this thread:
http://www.excelforum.com/showthread...hreadid=399448



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default CheckBox Query

I assume you would use a formula with your checkboxes linked to cells

=A1*B1+A2*B2+A3*B3

so column A would be linked to your checkboxes and column b would contain
the corresponding numbers to add.

If you wanted to do the show column you could do

=sumif(A:A,True,B:B)

--
Regards,
Tom Ogilvy

"TheDeep" wrote in
message ...

Hi

I've got 14 checkboxes. Each one when ticked picks up a different set
of numbers. They don't however work cumulatively ie. click 3 boxes and
get the cumulative result. Is there a piece of coding I need to add to
eack of the checkbox macros???

Would appreciate some insight ;)


--
TheDeep
------------------------------------------------------------------------
TheDeep's Profile:

http://www.excelforum.com/member.php...o&userid=26675
View this thread: http://www.excelforum.com/showthread...hreadid=399448



  #4   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default CheckBox Query

If I understand correctly, Go to UserForm, view code, use the code
If CheckBox = True Then
Call the macro (This will run A macro within)
End If
The Check box Should be within Private sub Ok button User form
If the design say requires option say per row
within that row use the Esle If followed by the End if
Hope this is of some help?


"TheDeep" wrote:


Hi

I've got 14 checkboxes. Each one when ticked picks up a different set
of numbers. They don't however work cumulatively ie. click 3 boxes and
get the cumulative result. Is there a piece of coding I need to add to
eack of the checkbox macros???

Would appreciate some insight ;)


--
TheDeep
------------------------------------------------------------------------
TheDeep's Profile: http://www.excelforum.com/member.php...o&userid=26675
View this thread: http://www.excelforum.com/showthread...hreadid=399448


Reply
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
Import New Database Query (Union Query) in Spreadsheet klock Excel Discussion (Misc queries) 2 September 24th 09 01:30 AM
Use MS Query to query data within the current work book Steve Kesler Excel Discussion (Misc queries) 0 August 6th 09 05:22 PM
Convert hard coded query criteria to Parameter Query Melanie[_2_] Excel Discussion (Misc queries) 0 July 15th 08 09:59 PM
Excel 2007 / MS Query - editing existing query to another sheet Hotpepperz Excel Discussion (Misc queries) 0 June 13th 08 06:53 PM
How to have Checkbox A uncheck with checked Checkbox B Texas Aggie Excel Discussion (Misc queries) 3 July 20th 07 10:58 PM


All times are GMT +1. The time now is 05:02 AM.

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

About Us

"It's about Microsoft Excel"