Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Checkbox to open another worksheet

I have a checklist in excel. For each question the person filling it out must
choose Yes No or NA (all checkboxes created from Control Toolbox). For all NA
answers the person must give a reason on sheet 3 that I renamed NA
Clarification. Is there a way to make it so that when someone checks the box
for NA it automatically goes to the NA Clarification sheet (sheet 3)? I don't
know if there is a hyperlink or formula I can put in for that? Please help.
Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default Checkbox to open another worksheet

Usually you use option buttons for mutually exclusive choices like you have.
Anyway, you need to attach a macro to your option button/check box. Double
click it in Design Mode (settable in the Control Toolbox toolbar) and paste
code into the sheet module similar to this:

Private Sub OptionButton1_Click()
Worksheets("Sheet3").Activate
End Sub


--
Jim
"SLKoelker" wrote in message
...
|I have a checklist in excel. For each question the person filling it out
must
| choose Yes No or NA (all checkboxes created from Control Toolbox). For all
NA
| answers the person must give a reason on sheet 3 that I renamed NA
| Clarification. Is there a way to make it so that when someone checks the
box
| for NA it automatically goes to the NA Clarification sheet (sheet 3)? I
don't
| know if there is a hyperlink or formula I can put in for that? Please
help.
| Thanks in advance.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Checkbox to open another worksheet

THANKS!!! it worked great.

Just one more thing, is there a way to uncheck all the checkboxes at once
instead of individually? Please help. Thanks.

"Jim Rech" wrote:

Usually you use option buttons for mutually exclusive choices like you have.
Anyway, you need to attach a macro to your option button/check box. Double
click it in Design Mode (settable in the Control Toolbox toolbar) and paste
code into the sheet module similar to this:

Private Sub OptionButton1_Click()
Worksheets("Sheet3").Activate
End Sub


--
Jim
"SLKoelker" wrote in message
...
|I have a checklist in excel. For each question the person filling it out
must
| choose Yes No or NA (all checkboxes created from Control Toolbox). For all
NA
| answers the person must give a reason on sheet 3 that I renamed NA
| Clarification. Is there a way to make it so that when someone checks the
box
| for NA it automatically goes to the NA Clarification sheet (sheet 3)? I
don't
| know if there is a hyperlink or formula I can put in for that? Please
help.
| Thanks in advance.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default Checkbox to open another worksheet

Again, you need a macro:

Sub UnCheck()
Dim Obj As OLEObject
For Each Obj In ActiveSheet.OLEObjects
If Obj.progID = "Forms.CheckBox.1" Then
Obj.Object.Value = False
End If
Next
End Sub



--
Jim
"SLKoelker" wrote in message
...
| THANKS!!! it worked great.
|
| Just one more thing, is there a way to uncheck all the checkboxes at once
| instead of individually? Please help. Thanks.
|
| "Jim Rech" wrote:
|
| Usually you use option buttons for mutually exclusive choices like you
have.
| Anyway, you need to attach a macro to your option button/check box.
Double
| click it in Design Mode (settable in the Control Toolbox toolbar) and
paste
| code into the sheet module similar to this:
|
| Private Sub OptionButton1_Click()
| Worksheets("Sheet3").Activate
| End Sub
|
|
| --
| Jim
| "SLKoelker" wrote in message
| ...
| |I have a checklist in excel. For each question the person filling it
out
| must
| | choose Yes No or NA (all checkboxes created from Control Toolbox). For
all
| NA
| | answers the person must give a reason on sheet 3 that I renamed NA
| | Clarification. Is there a way to make it so that when someone checks
the
| box
| | for NA it automatically goes to the NA Clarification sheet (sheet 3)?
I
| don't
| | know if there is a hyperlink or formula I can put in for that? Please
| help.
| | Thanks in advance.
|
|
|


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
How to have Checkbox A uncheck with checked Checkbox B Texas Aggie Excel Discussion (Misc queries) 3 July 20th 07 10:58 PM
How to insert a CheckBox in a Excel 2007 worksheet?? Inquiringmind Excel Worksheet Functions 0 February 8th 07 08:35 AM
How do I keep my checkbox from moving after I print the worksheet Norrin01 Excel Discussion (Misc queries) 1 July 10th 06 10:09 PM
checkbox and worksheet Jenn Excel Discussion (Misc queries) 2 June 26th 06 04:38 PM
how do I protect a worksheet and still use a checkbox control JayS Excel Worksheet Functions 4 September 8th 05 07:36 AM


All times are GMT +1. The time now is 03:50 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"