Question : Refreshing Worksheets

I've searched the database and I know there are multiple solutions which are very similar to my goal here, but the majority that might work seem far overcomplicated for my project.

This is the story (simplified)....

I have two worksheets that are dependent on each other. Let's call them A and B.

In particular I have a question in worksheet A which asks (something like) "do you want to use data from this worksheet to drive the other worksheet?" if the user picks "yes" from a dropdown menu, then worksheet B recalculates the data given the inputs from worksheet A.

However, when the user changes the answer in worksheet A to "yes" worksheet B does not automatically update (the values update, but the macros do not run). I want the macros in worksheet B to run when the user answers yes in worksheet A.

Is there a very simple way to force excel to re-run macros in all (or one worksheet in particular) when the user makes a change in a DIFFERENT worksheet?



Like I said, I'm hoping this is a simple problem like "If targ1 changes, then Refresh.CurrentWorksheet"



Hopefully this is clear, thanks.

Answer : Refreshing Worksheets

Based on my interpretation of your case, I recommend that
* you code for the change event for worksheet A.
* If the changed area is your drop down selection and value = YES then Invoke the routine that runs on worksheet B to recalculate.

I hope this hint helps.
Random Solutions  
 
programming4us programming4us