Record a macro of you doing your actions and then stop and chheck out the generated module code.