I'm working on something like daviddoria's problem, only I want to use the result to trigger an If..Then to run or be bypassed.
I plugged the code Leith Ross posted into my file top see what the output is, and it returned "DATE" into a random cell I assigned it to.
I adjusted the code to address my situation. Whne I run the macro on a sheet with "Rev 2" (which doesn't need to go thru the routine), I'm getting Error 91("Object variable or With block variable not set "). When I run a sheet with "Rev 1", it runs without a hitch.
Bookmarks