Advertisement

06.05.2008 at 12:21PM PDT, ID: 23461583
[x]
Attachment Details

run VBA code when a check box checked or unchecked

Asked by sdc248 in Microsoft Excel Spreadsheet Software

Tags: VBA

Hi experts:

Thanks for the help with my previous question. The following code works when the user changes certain cell (in this case, B23). However, it doesn't work if the cell changes because value of another cell or a check box involved in its formula is changed.  What can I do to handle it? Thank you.

Private Sub Worksheet_Change(ByVal Target As Range)
    If Not Intersect(Target, Range("B23")) Is Nothing Then Call mySub
End SubThanks.Start Free Trial
[+][-]06.05.2008 at 12:43PM PDT, ID: 21723202

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 01:36PM PDT, ID: 21723695

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 03:40PM PDT, ID: 21724687

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Excel Spreadsheet Software
Tags: VBA
Sign Up Now!
Solution Provided By: rorya
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.06.2008 at 09:44AM PDT, ID: 21730648

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.09.2008 at 06:22AM PDT, ID: 21742926

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_Related_20080208