Hi All,
I want the following code to activate when I change cell A3. How do I specify the code must run ONLY when cell A3 is changed?
Thank You.![]()
Please Login or Register to view this content.
Hi All,
I want the following code to activate when I change cell A3. How do I specify the code must run ONLY when cell A3 is changed?
Thank You.![]()
Please Login or Register to view this content.
Last edited by Aland2929; 07-24-2009 at 04:46 AM.
Try:-
Mick![]()
Please Login or Register to view this content.
I want the explanation for this code.can anybody tell me this.
THANKS
ExcelKeechak
The worksheet change event is passed a 'Target' range, that is the cell or cells where you are at the moment.I want the explanation for this code.can anybody tell me this.
Mick's code is checking the address of that cell to see if it matches the one you are interested in.
ps. manners never hurt either...
If you find the response helpful please click the scales in the blue bar above and rate it
If you don't like the response, don't bother with the scales, they are not for you
Thanks Mick, but I am getting a type mismatch error?
![]()
Please Login or Register to view this content.
Is BranchCriteria a named range of cells or a single cell
If it is a single cell then you need to add .Address to the command
Without the address command it is testing the BranchCriteria cells value
![]()
Please Login or Register to view this content.
If a range of cells then
![]()
Please Login or Register to view this content.
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assistedor failed to assist you
I welcome your Feedback.
Thank You. It works perfectly.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks