Thanks for the answer. I was hoping there was a macro command for the rank Guess I need to make 3 seperate macros with the rank 'hard coded'.