Question : Find select cell based on cell value from another sheet

Hallo Experts

I have two worksheets with identical data structure and I need a macro that will lookup a value in cell X1 in Sheet 1 and find and select the first cell on Sheet 2 containining that value (or in this particular case, a Date). This is what I tried:

    Selection.Find(What:="12/1/2009", After:=ActiveCell, LookIn:=xlFormulas, _
        LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
        MatchCase:=False, SearchFormat:=False).Activate

This however is not satisfactory as it write he absolute value of the cell in the "find" process. In other words, if I run the macro the next time and the value of X1 is different, it will still lokk for the abolsute string "12/1/2009". Is there a way to fix this?

Thanks for your help.

Answer : Find select cell based on cell value from another sheet

Okay, thanks for the clarification!

So what you want in AS3 is ExternalInterface. I'm trying to find you some examples as a backgrounder first.

which isn't a phenomenal tutorial but will give you the basics. Here's the adobe docs

okay so basically one of two scenarios here:
1. You want the entire flash area to be clickable and call your JavaScript function. In this case just use JavaScript on the div that contains the flash piece. Don't bother with AS at all

2. You want a button or some movieclip inside your flash to trigger the shopping cart JS. In this case use externalinterface as outlined below

import external.ExternalInterface;
function someClickEventHandler(e:MouseEvent){"WSAddToCartNoRedirect",103170,'','','','0');

oh and this may very well not work if you test it out on your local machine unless you've configured your security sandbox, so befor you give up, upload the swf and the host HTML page to your testing server.

Good luck!

Random Solutions  
programming4us programming4us