Solved

Realtime Change instead of button to fire Macro

Posted on 2013-12-02
9
240 Views
Last Modified: 2013-12-03
EE Pros,

I have a great little macro that Andrew Mann has developed for me and it needs one little change......instead of updating the total via a button, how do I have the macro recognize a check box, or an uncheck box and automatically update the total?

That's it!

Thank you in advance.

B.
Copy-of-Compling-the-Value-List-.xlsm
0
Comment
Question by:Bright01
  • 3
  • 3
  • 3
9 Comments
 
LVL 4

Expert Comment

by:andrew_man
ID: 39690048
Just a kidding!

Do you think you will find out a solution here?
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39690061
right-click on the sheet tab name and select view code

add these two lines before the last end if

Cancel = True
sumup
0
 
LVL 4

Expert Comment

by:andrew_man
ID: 39690069
I dun agree this solution.  The client wants real time update!
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 400 total points
ID: 39690103
Check this file. It works.
Copy-of-Copy-of-Compling-the-Val.xlsm
0
 
LVL 4

Assisted Solution

by:andrew_man
andrew_man earned 100 total points
ID: 39690256
Your solution is the best, because the computer is too fast nowadays.  I don't try to use this in my decade.

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)

If Target.Column = 6 Then

With ActiveCell
If .Value = "P" Then
.Value = ""
Else
If .Offset(0, 1).Value <> "" Then
.Font.Name = "Wingdings 2"
.Value = "P"
End If
End If
End With
'**** This is modified by ssaqibh
Cancel = True
sumup
End If
End Sub

Open in new window

Compling-the-Value-List-v5.xlsm
0
 

Author Closing Comment

by:Bright01
ID: 39691285
Great work guys!  I've tested it with my production WB and it works great!   I have one scaling problem that I'll author another question on.  

Thanks again, excellent work.................

B.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39691655
Why the split? He just repeated my solution.
0
 

Author Comment

by:Bright01
ID: 39692417
Ssaqibh,

Sorry about that; I simply used his executable and didn't compare line by line.  Next time I'll be more careful.

I'm authoring another two questions on this Macro.  Hope you will pick it up.

B.
0
 

Author Comment

by:Bright01
ID: 39692426
Ssaqibh,

Here is a post that I think Sean may have been tied up or it got abandoned.  Given your knowledge on the original post, you may be able to address this in a matter of seconds.

Posted on 2013-11-30 at 07:19:32ID: 39686817

Thanks,

B.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question