You can always test small things by recording a macro, doing the little tasks, stopping the macro, and then edit the macro to look at the code that was produced. Use this code as a template to insert into your actual code.