Hi

Open your example file, ALT F11, Insert, Module, paste the code, run the code, then view the output on sheet2.


rylo