PC Review


Reply
Thread Tools Rate Thread

Macro's being triggered from a condition? Help.

 
 
New Member
Join Date: Nov 2006
Posts: 4
 
      10th Nov 2006
I have been working on this one problem for days and am desperate for help.



I have a program in which I import live data into excel and feed it through a set of conditions I have made, if my conditions are met a cell will populate with the word "yes", if my conditions are unmet the cell will display the word "no". I have a total of 6 cells next to each other, 2 rows and 3 across, which are programmed to display "yes" or "no" depending on if the conditions are met.



What I need to do is have a macro triggered off when the word "yes" is displayed in any of those 6 cells, doesn't matter which, this macro will then highlight that area of cells and "insert the copied cells" down below.



I know how to record the macro, what I really need is a way for this macro to be triggered off by the product of any 6 particular cells; if any cell displays “yes” enable macro.



My programming skills are very limited, so if you could please be as specific as possible if mention anything with visual basic.



Thank you.



alexandra
 
Reply With Quote
 
 
 
 
New Member
Paul Morgan's Avatar
Join Date: Nov 2006
Posts: 19
 
      19th Nov 2006
do you Know about the worksheet change event??
 
Reply With Quote
 
New Member
Join Date: Nov 2006
Posts: 4
 
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro triggered by date Risky Dave Microsoft Excel Programming 4 10th Sep 2009 10:37 PM
Macro triggered by date Lonpuz Microsoft Excel Programming 4 18th Jan 2008 08:18 PM
Macro triggered by an event =?Utf-8?B?TWVraW5uaWs=?= Microsoft Excel Programming 3 1st Oct 2007 08:46 PM
display a range of data when triggered by a specific condition =?Utf-8?B?Y29sbGlnYW4yNQ==?= Microsoft Excel Worksheet Functions 1 26th Feb 2006 12:31 AM
Macro triggered by an event =?Utf-8?B?QXVzc2llQVZndXk=?= Microsoft Excel Misc 2 16th Jun 2005 06:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:23 AM.